scaffold laravel 12 backend
composer create-project laravel/laravel + artisan install:api. sanctum removed (custom session-cookie auth per ai/backend-context). personal_access_tokens migration + config/sanctum.php deleted. default .gitignore excludes vendor/, .env, etc - composer install recreates vendor at setup time.
This commit is contained in:
parent
5425df0eae
commit
c03ffc8941
57 changed files with 10758 additions and 0 deletions
18
backend/artisan
Executable file
18
backend/artisan
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Symfony\Component\Console\Input\ArgvInput;
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
|
||||
// Register the Composer autoloader...
|
||||
require __DIR__.'/vendor/autoload.php';
|
||||
|
||||
// Bootstrap Laravel and handle the command...
|
||||
/** @var Application $app */
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
|
||||
$status = $app->handleCommand(new ArgvInput);
|
||||
|
||||
exit($status);
|
||||
Loading…
Add table
Add a link
Reference in a new issue