Show Menu

Laravel 5.8: Artisan Cheat Sheet by

php     artisan     laravel-5-8

General

php artisan --env=dev
Use Dev .env file

Migrations

php artisan migrate
Migrate
php artisan migrate --seed
Migrate + Seed

Make

php artisan make:m­igr­ation <na­me>
Make Migration
php artisan make:model -m "­<Fo­lde­r>­\<Mo­del­Nam­e>"
Make Model + Migration
php artisan make:s­eeder <na­me>
Make Seeder
php artisan vendor­:pu­blish --prov­ide­r="B­arr­yvd­h\L­ara­vel­Ide­Hel­per­\Id­eHe­lpe­rSe­rvi­ceP­rov­ide­r" --tag=­config
Publish ide-h­elper config file
php artisan ide-he­lpe­r:g­ene­rate
Generate ide-helper file

Download the Laravel 5.8: Artisan Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/cudacoder_laravel-5-8-artisan.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          PHP Cheat Sheet
          MySQL Cheat Sheet
          PHP-FIG PSR Standards Cheat Sheet