1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00
tldr/pages/common/php-artisan.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

483 B

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