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:
yisroel 2026-05-06 14:46:41 +03:00
parent 5425df0eae
commit c03ffc8941
57 changed files with 10758 additions and 0 deletions

View file

@ -0,0 +1 @@
import './bootstrap';

4
backend/resources/js/bootstrap.js vendored Normal file
View file

@ -0,0 +1,4 @@
import axios from 'axios';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';