What is the purpose of $fillable in Laravel Eloquent?
The $fillable property is a mass-assignment protection mechanism in Eloquent models. It defines the attributes that are allowed when using methods such as create() or fill(), helping prevent unintended fields from being assigned automatically.