Authorization

Two Best Laravel Packages to Manage Roles/Permissions
Laravel Packages / July 20, 2017

Two Best Laravel Packages to Manage Roles/Permissions

Roles and permissions are an important part of many web applications. Laravel historically had a lot of packages for them and improved the core code as well. So what is the situation on this market today? What packages are the best to use? I’ve picked two.

Read more…
Bouncer: a Laravel Package for Role and Ability Authorization
Laravel Packages / July 17, 2017

Bouncer: a Laravel Package for Role and Ability Authorization

Bouncer is an authorization package by Joseph Silber which allows role and ability checks at Laravel’s authorization gate. Bouncer provides a mechanism to handle roles and abilities in Laravel’s ACL. With an expressive and fluent syntax, it stays out of your way as much as possible: use it when you want, ignore it when you don’t.

Read more…
An Introduction to Laravel Authorization Gates
Laravel Tutorials / April 19, 2017

An Introduction to Laravel Authorization Gates

Laravel Gate has an elegant mechanism to ensure users are authorized to perform actions on resources. Before version 5.1, developers used ACL packages such as Entrust or Sentinel along with middlewares for authorization. The problem with this approach is the permissions you attach to users are just flags; they don’t encode the complex logic of …

Laravel Package To Login As Other Users During Development
Laravel Packages / March 23, 2017

Laravel Package To Login As Other Users During Development

For websites with advanced ACL functionality, developers often find themselves manually logging in as a different user, then switching back to their own account. This can prove to be a tedious process, especially when trying to debug a problem. Digital agency VIA Creative aims to solve that problem with its latest package: Sudo Su. Sudo …

Laravel Tutorials / September 10, 2015

3 Resources to learn about the new ACL features in Laravel

With the release of Laravel 5.1.11 it featured a new authorization or ACL system to make restricting access easier than ever before. Since the announcement several people throughout the community has created videos and tutorials around this feature to help you get up to speed. Laracasts has added three new videos in their What’s New … Continue reading Read more…

News / August 31, 2015

Laravel 5.1.11 Released — Now with Authorization

Laravel 5.1.11 has been released and it features a brand new Authorization or ACL system to make restricting access easier than ever before. The Authorization includes a new Gate facade, new restrictions on the User model, and even Blade helpers. You can find more information on this release on the official documentation. Another new feature … Continue reading Read more…