NEW in Laravel 9.28: Prevent $fillable Bugs with Exception
A new improvement in Laravel - now you can force to throw an exception if someone (you?) forgot to add the field into the $fillable array of your model. Original PR: https://github.com/laravel/framework/pull/43893 Larastarters package: https://github.com/LaravelDaily/Larastarters - - - - - Support the channel by checking out my products: - My Laravel courses membership: https://laraveldaily.teachable.com/p/all-courses-yearly-membership?utm_source=youtube&utm_campaign=fillable-928 - Laravel QuickAdminPanel: https://bit.ly/quickadminpanel - Livewire Kit Components: https://livewirekit.com - - - - - Other places to follow: - My weekly Laravel newsletter: http://bit.ly/laravel-newsletter - My personal Twitter: https://twitter.com/povilaskorop
A new improvement in Laravel - now you can force to throw an exception if someone (you?) forgot to add the field into the $fillable array of your model. Original PR: https://github.com/laravel/framework/pull/43893 Larastarters package: https://github.com/LaravelDaily/Larastarters - - - - - Support the channel by checking out my products: - My Laravel courses membership: https://laraveldaily.teachable.com/p/all-courses-yearly-membership?utm_source=youtube&utm_campaign=fillable-928 - Laravel QuickAdminPanel: https://bit.ly/quickadminpanel - Livewire Kit Components: https://livewirekit.com - - - - - Other places to follow: - My weekly Laravel newsletter: http://bit.ly/laravel-newsletter - My personal Twitter: https://twitter.com/povilaskorop