LinuxCommandLibrary

php-artisan

php-artisan

TLDR

Start PHP's built-in web server for the current Laravel application

$ php artisan serve
copy


Start an interactive PHP command-line interface
$ php artisan tinker
copy


Generate a new Eloquent model class with a migration, factory and resource controller
$ php artisan make:model [ModelName] --all
copy


Display a list of all available commands
$ php artisan help
copy

Copied to clipboard