feat: Complete Woles Framework v1.0 with enterprise-grade UI
- Add comprehensive error handling system with custom error pages - Implement professional enterprise-style design with Tailwind CSS - Create modular HMVC architecture with clean separation of concerns - Add security features: CSRF protection, XSS filtering, Argon2ID hashing - Include CLI tools for development workflow - Add error reporting dashboard with system monitoring - Implement responsive design with consistent slate color scheme - Replace all emoji icons with professional SVG icons - Add comprehensive test suite with PHPUnit - Include database migrations and seeders - Add proper exception handling with fallback pages - Implement template engine with custom syntax support - Add helper functions and facades for clean code - Include proper logging and debugging capabilities
This commit is contained in:
25
app/Core/Commands/ServeCommand.php
Normal file
25
app/Core/Commands/ServeCommand.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Core\Commands;
|
||||
|
||||
/**
|
||||
* NovaCore Serve Command
|
||||
* CLI command to start development server
|
||||
*/
|
||||
class ServeCommand
|
||||
{
|
||||
/**
|
||||
* Execute the command
|
||||
*/
|
||||
public function execute(): void
|
||||
{
|
||||
$port = getenv('APP_PORT') ?: '8000';
|
||||
$host = getenv('APP_HOST') ?: 'localhost';
|
||||
|
||||
echo "NovaCore Framework development server starting...\n";
|
||||
echo "Server running at http://{$host}:{$port}\n";
|
||||
echo "Press Ctrl+C to stop the server\n\n";
|
||||
|
||||
exec("php -S {$host}:{$port} -t public");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user