Each database table has a matching Eloquent Model (e.g., users → User, languages → Language). Always define protected $fillable on your model to whitelist which columns can be mass-assigned from forms, protecting fields like is_admin.
ADVERTISEMENT