Wednesday, May 19, 2021

Creating a Model In Laravel.

 Synatx : php artisan make:model ModelName 

Let's create a model for Product 

So we in the terminal write PHP artisan make: model Product 

















No comments:

Post a Comment

Call Factory and make multiple record entry Using tinker

  $d = Factory(App\Department::class,3)->create(); > $d = Factory(App\Department::class, 10)->create(); = Illuminate\Database\Eloqu...