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.
8 lines
210 B
PHP
8 lines
210 B
PHP
<?php
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
Artisan::command('inspire', function () {
|
|
$this->comment(Inspiring::quote());
|
|
})->purpose('Display an inspiring quote');
|