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
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