php-artisan
laravel framework's command line interface
TLDR
List commands
$ php artisan list
Start development server$ php artisan serve
Run migrations$ php artisan migrate
Generate controller$ php artisan make:controller [UserController]
Generate model with migration$ php artisan make:model [User] -m
Clear cache$ php artisan cache:clear
SYNOPSIS
php artisan command [options] [arguments]
DESCRIPTION
php artisan is the Laravel framework's command line interface. Provides commands for common development tasks like code generation, database migrations, caching, and server management.
PARAMETERS
serve
Start development server.migrate
Run database migrations.make:controller name
Generate controller.make:model name
Generate model.make:migration name
Generate migration.cache:clear
Clear application cache.config:cache
Cache configuration.route:list
List all routes.tinker
Start interactive shell.
