- Add declare(strict_types=1) to all 12 PHP files missing it - Add composer test/lint scripts to composer.json - Add laravel/pint to require-dev for PSR-12 compliance - Add pint.json with Laravel preset - Update CLAUDE.md commands to match monorepo conventions Co-Authored-By: Virgil <virgil@lethean.io>
25 lines
692 B
PHP
25 lines
692 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Foundation\Configuration\Exceptions;
|
|
use Illuminate\Foundation\Configuration\Middleware;
|
|
|
|
return Application::configure(basePath: dirname(__DIR__))
|
|
->withProviders([
|
|
// Core PHP Framework Packages
|
|
\Core\CoreServiceProvider::class,
|
|
])
|
|
->withRouting(
|
|
web: __DIR__.'/../routes/web.php',
|
|
api: __DIR__.'/../routes/api.php',
|
|
commands: __DIR__.'/../routes/console.php',
|
|
health: '/up',
|
|
)
|
|
->withMiddleware(function (Middleware $middleware) {
|
|
//
|
|
})
|
|
->withExceptions(function (Exceptions $exceptions) {
|
|
//
|
|
})->create();
|