- Refactored AuthService to use UserRepository for user authentication. - Added .env file for environment configuration. - Created migration system with Migrator and ConnectionFactory classes. - Added database migration files for creating users table. - Implemented settings controller for managing database migrations. - Developed user repository for user data handling. - Created users controller for user management interface. - Added frontend standards and migration documentation. - Introduced reusable UI components and jQuery alerts module.
21 lines
690 B
PHP
21 lines
690 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use App\Core\Support\Env;
|
|
|
|
return [
|
|
'name' => Env::get('APP_NAME', 'orderPRO'),
|
|
'env' => Env::get('APP_ENV', 'production'),
|
|
'debug' => Env::bool('APP_DEBUG', false),
|
|
'url' => Env::get('APP_URL', ''),
|
|
'locale' => Env::get('APP_LOCALE', 'pl'),
|
|
'session' => [
|
|
'name' => Env::get('SESSION_NAME', 'orderpro_session'),
|
|
'path' => dirname(__DIR__) . '/storage/sessions',
|
|
],
|
|
'view_path' => dirname(__DIR__) . '/resources/views',
|
|
'lang_path' => dirname(__DIR__) . '/resources/lang',
|
|
'log_path' => dirname(__DIR__) . '/storage/logs/app.log',
|
|
'migrations_path' => dirname(__DIR__) . '/database/migrations',
|
|
];
|