From 711cc8201cf7cae5b1bdcd5634f0bd10519d57ec Mon Sep 17 00:00:00 2001 From: I'm Liam Date: Sun, 25 Nov 2018 21:57:23 +0000 Subject: [PATCH] php-artisan: add page (#2346) --- pages/common/php-artisan.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/php-artisan.md diff --git a/pages/common/php-artisan.md b/pages/common/php-artisan.md new file mode 100644 index 0000000000..f81a751e04 --- /dev/null +++ b/pages/common/php-artisan.md @@ -0,0 +1,19 @@ +# 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`