Skeleton is ready
This commit is contained in:
28
bootstrap/app.php
Normal file
28
bootstrap/app.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use App\Kernel\Http\Middleware\CheckAcceptHeader;
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
use Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull;
|
||||
use Illuminate\Foundation\Http\Middleware\TrimStrings;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting()
|
||||
->withMiddleware(function (Middleware $middleware): void {
|
||||
$middleware->use([
|
||||
TrimStrings::class,
|
||||
ConvertEmptyStringsToNull::class,
|
||||
CheckAcceptHeader::class,
|
||||
]);
|
||||
|
||||
$middleware->alias([
|
||||
/**
|
||||
* 'middleware.name' => Middleware:class,
|
||||
*/
|
||||
]);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions): void {
|
||||
|
||||
})
|
||||
->create();
|
||||
2
bootstrap/cache/.gitignore
vendored
Normal file
2
bootstrap/cache/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
19
bootstrap/providers.php
Normal file
19
bootstrap/providers.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Application providers
|
||||
*/
|
||||
App\Providers\SharedService::class,
|
||||
|
||||
/**
|
||||
* Package providers
|
||||
*/
|
||||
// Diffhead\PHP\LaravelDataEnrichment\ServiceProvider::class,
|
||||
// Diffhead\PHP\LaravelRabbitMQ\ServiceProvider::class,
|
||||
|
||||
/**
|
||||
* Feature providers
|
||||
*/
|
||||
App\Feature\Example\Provider::class,
|
||||
];
|
||||
Reference in New Issue
Block a user