Browse Source

php-artisan: add page (#2346)

I'm Liam 6 years ago
parent
commit
711cc8201c
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pages/common/php-artisan.md

+ 19 - 0
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`