Some time ago I stopped to maintain the $fillable
attribute on my Laravel models, but rather started filling the $guarded
attribute. And the reasons are pretty obvious if you think about it.
Since php7 we can use grouped use statements to make multiple classes of a namespace available through a single use statement. Let's take a look at this approach and how we can benefit from it.
Sometimes the Laravel IDE Helper