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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.