1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/common/php-artisan.md
2019-05-31 19:47:40 +01:00

20 lines
483 B
Markdown

# php artisan
> Laravel's Artisan command line interface.
> More information: <https://laravel.com/docs/artisan>.
- 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`