mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 04:17:58 +01:00
php-artisan: add page (#2346)
This commit is contained in:
parent
92295cac37
commit
711cc8201c
1 changed files with 19 additions and 0 deletions
19
pages/common/php-artisan.md
Normal file
19
pages/common/php-artisan.md
Normal file
|
@ -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`
|
Loading…
Reference in a new issue