mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 16:50:00 +00:00
Update cheatsheets
This commit is contained in:
25
php-artisan
Normal file
25
php-artisan
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user