mirror of https://github.com/CrimsonTome/tldr.git
20 lines
427 B
Markdown
20 lines
427 B
Markdown
# php artisan
|
|
|
|
> Laravel's Artisan command line interface.
|
|
|
|
- Start PHP's built-in web server for the current Laravel application:
|
|
|
|
`php artisan serve`
|
|
|
|
- Start an interactive PHP command line interface:
|
|
|
|
`php artisan tinker`
|
|
|
|
- Generate a new Eloquent model class with a migration, factory and resource controller:
|
|
|
|
`php artisan make:model {{ModelName}} --all`
|
|
|
|
- Display a list of all available commands:
|
|
|
|
`php artisan help`
|