php-developer/bootstrap/app.php
Snider 6adcd6ec0b
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 2s
CI / PHP 8.4 (pull_request) Failing after 3s
fix(dx): add strict_types, composer scripts, and Pint config
- 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>
2026-03-17 09:08:38 +00:00

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();