Allow mass assignment for all the models in Laravel
November 20, 2021 — While it’s not recommended to allow all of your model’s attributes mass assignable since in that case you need to make sure to hand-craft the arrays passed to Eloquent’s fill
, create
, and update
methods.