Laravel eloquent fillable attribute

laravel eloquent fillable
Laravel eloquent fillable attribute is an array containing the set of fields of a table that can be filled using mass-assignment while create Read more

Eloquent Self Referential Relationship in Laravel?

To get the relationship from same table eloquent model with parent and child relations ship. Here is an example for menus which has parent asn child relationship. <?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { // fillable protected... Read more