#!/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.35) Checking OPcache... ✅ PASS 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: 7 ⚠️ Warnings: 1 ❌ Failed: 2 🔴 CRITICAL ISSUES (Fix immediately): ═══════════════════════════════════════ 1. APP_DEBUG is enabled - Set APP_DEBUG=false in .env file 2. MySQL connection failed: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) ⚠️ 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