getBasePath() . "\n"; echo "āœ… Clock: " . $clock->now()->format('Y-m-d H:i:s') . "\n"; echo "āœ… Memory: " . number_format(memory_get_usage(true) / 1024 / 1024, 2) . " MB\n"; // Test HTTP Request parsing $method = App\Framework\Http\Method::GET; echo "āœ… HTTP Method: " . $method->value . "\n"; // Simple HTTP response header('Content-Type: text/html; charset=utf-8'); echo "\nšŸ“¦ Framework Status:\n"; echo " • Basic components: āœ… Working\n"; echo " • Discovery system: 🚧 Needs optimization\n"; echo " • Performance: ⚔ {$memoryMonitor->getPeakMemoryUsageMb()}MB peak\n"; echo "\nšŸŽÆ Next Steps:\n"; echo " 1. Optimize discovery system for large codebase\n"; echo " 2. Implement lazy loading for Framework components\n"; echo " 3. Add performance monitoring\n"; echo " 4. Test with production cache settings\n"; } catch (Throwable $e) { echo "āŒ ERROR: " . $e->getMessage() . "\n"; echo " File: " . $e->getFile() . ":" . $e->getLine() . "\n"; echo " Class: " . get_class($e) . "\n"; if (method_exists($e, 'getContext')) { echo " Context: " . json_encode($e->getContext()) . "\n"; } }