Contents
factory call using tinker
PHP Artisan tinker
App\Model\(model name)::factory()->count(5)->create();
databases
php artisan db:seed --class=TestSeeder
php artisan make:migration create_flights_table
php artisan migrate:rollback --step=1
composer
composer dump-autoload
git
git pull origin main
API sanctum error CSRF token mismatch
add this on .env
SESSION_DOMAIN=localhost
SANCTUM_STATEFUL_DOMAINS=localhost:8081 <--depend on your php conf