Discussion Laravel

Laravel Concepts – Policy, Event, Listener

There are bunch of advanced Laravel features and we will use them in real-world projects.

Policy, Event, Listeners are widely used Laravel features.

Laravel Policies are a great way to protect actions on your Eloquent Model. Laravel Policies are the part of Laravel Authorization that helps you to protect resources from unauthorized access.

Laravel’s events and listeners provide a simple observer implementation, allowing you to subscribe and listen for various events that occur in your application.

For more details:

https://laravel.com/docs/5.8/authorization

https://laravel.com/docs/5.8/events

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *