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:
80
app/Config/app.php
Normal file
80
app/Config/app.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* NovaCore Framework Application Configuration
|
||||
*/
|
||||
|
||||
return [
|
||||
'name' => env('APP_NAME', 'NovaCore Framework'),
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'debug' => env('APP_DEBUG', false),
|
||||
'url' => env('APP_URL', 'http://localhost:8000'),
|
||||
'timezone' => 'UTC',
|
||||
'locale' => 'en',
|
||||
'fallback_locale' => 'en',
|
||||
'key' => env('APP_KEY', ''),
|
||||
'cipher' => 'AES-256-CBC',
|
||||
|
||||
'providers' => [
|
||||
// Core service providers
|
||||
App\Core\Providers\AppServiceProvider::class,
|
||||
App\Core\Providers\SecurityServiceProvider::class,
|
||||
],
|
||||
|
||||
'aliases' => [
|
||||
'App' => App\Core\Facades\App::class,
|
||||
'Request' => App\Core\Facades\Request::class,
|
||||
'Response' => App\Core\Facades\Response::class,
|
||||
'View' => App\Core\Facades\View::class,
|
||||
'Security' => App\Core\Facades\Security::class,
|
||||
],
|
||||
|
||||
'middleware' => [
|
||||
'web' => [
|
||||
App\Core\Middleware\SecurityMiddleware::class,
|
||||
App\Core\Middleware\CsrfMiddleware::class,
|
||||
],
|
||||
'api' => [
|
||||
App\Core\Middleware\SecurityMiddleware::class,
|
||||
],
|
||||
],
|
||||
|
||||
'session' => [
|
||||
'driver' => 'file',
|
||||
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||
'expire_on_close' => false,
|
||||
'encrypt' => false,
|
||||
'files' => storage_path('sessions'),
|
||||
'connection' => null,
|
||||
'table' => 'sessions',
|
||||
'store' => null,
|
||||
'lottery' => [2, 100],
|
||||
'cookie' => 'novacore_session',
|
||||
'path' => '/',
|
||||
'domain' => null,
|
||||
'secure' => false,
|
||||
'http_only' => true,
|
||||
'same_site' => 'lax',
|
||||
],
|
||||
|
||||
'cache' => [
|
||||
'default' => env('CACHE_DRIVER', 'file'),
|
||||
'stores' => [
|
||||
'file' => [
|
||||
'driver' => 'file',
|
||||
'path' => storage_path('cache'),
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'logging' => [
|
||||
'default' => 'single',
|
||||
'channels' => [
|
||||
'single' => [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/error.log'),
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user