First up on the agenda is automatic policy discovery. In past versions of Laravel, each time a policy class is generated, you'd need to visit your
AuthServiceProvider to manually wire it up with the appropriate model. It's not the end of the world, but still nonetheless a bit tedious. Now in Laravel 5.8, as long as you follow the standard naming convention, this policy discovery happens automatically.
Published on Feb 25th, 2019.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.