#!/usr/bin/env php ╔════════════════════════════════════════════════════════════╗ ║ INVENTINO POS - Performance Checker ║ ╚════════════════════════════════════════════════════════════╝ Checking APP_DEBUG setting... ❌ FAIL Checking APP_ENV setting... ⚠️ WARNING Checking PHP version... ✅ PASS (PHP 8.3.31) Checking OPcache... ❌ FAIL Checking PHP memory limit... ✅ PASS (256M) Checking max execution time... ✅ PASS (30s) Checking Laravel cache... ✅ PASS Checking build assets... ✅ PASS Checking storage permissions... ✅ PASS Checking MySQL connection... ❌ FAIL ╔════════════════════════════════════════════════════════════╗ ║ RESULTS SUMMARY ║ ╚════════════════════════════════════════════════════════════╝ ✅ Passed: 6 ⚠️ Warnings: 1 ❌ Failed: 3 🔴 CRITICAL ISSUES (Fix immediately): ═══════════════════════════════════════ 1. APP_DEBUG is enabled - Set APP_DEBUG=false in .env file 2. OPcache is not installed - Install and enable opcache extension 3. MySQL connection failed: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: YES) ⚠️ WARNINGS (Recommended to fix): ═══════════════════════════════════════ 1. APP_ENV is set to 'local' - Consider setting to 'production' ❌ Action Required! Please fix the critical issues listed above. 📖 For detailed optimization guide, see: PERFORMANCE_OPTIMIZATION.md