How will you describe Fillable Attribute in a Laravel model?

In eloquent ORM, $fillable attribute is an array containing all those fields of table which can be filled using mass-assignment.

Mass assignment refers to sending an array to the model to directly create a new record in Database.

Code Source

class User extends Model {
protected $fillable = [‘name’, ’email’, ‘mobile’];
// All fields inside $fillable array can be mass-assigned
}