Skip to content

Files

Latest commit

6f9f4ba · Dec 15, 2018

History

History
executable file
·
49 lines (18 loc) · 768 Bytes

README.md

File metadata and controls

executable file
·
49 lines (18 loc) · 768 Bytes

lumen-jwt

JWT authentication for Lumen 5.6

Database basic

Schema Builder

Eloquent ORM

migration

  • php artisan make:migration create_products_table

change tables structures with migration without losing data?

  • php artisan migrate:refresh
  • php artisan make:migration add_paid_to_users --table="users"

To check db values

  • php artisan tinker

Merge Json/Resource::with() when using a collection in an API Resource