Install Laravel.

This commit is contained in:
2023-03-05 20:14:04 +06:00
parent 5545a3e1c5
commit 15225e860c
85 changed files with 11048 additions and 23 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Application;
trait CreatesApplication
{
/**
* Creates the application.
*/
public function createApplication(): Application
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}