Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

priyalaks's avatar

Laratrust or Laravel Gates & Policies

What would be best for Authorizations ? Laravel Gates & Policies or Laratrust ?

I have been using Laratrust for quite some time and looks cleaner..

0 likes
5 replies
OussamaMater's avatar

Well Laravel policies are nothing but grouped gates, so it's Policies vs Laratrust, and for a simple project I would go with Laravel Policies and avoid any kind of packages, but once the project gets bigger the better option is to shift to Laratrust for a simple reason: the code is being tested and maintained by the community all I need to worry about is applying it, so less debugging and waste of time.

PS: have a look at this package 'laravel-permission', a much bigger support and has a lot of features as well.

1 like
priyalaks's avatar

@OussamaMater -Thank you .. So Do you recommend Spatie over Laratrust ? Is the spatie support is better that Laratrust ?

OussamaMater's avatar

@priyalaks Yes I do recommend Laravel-Permission over Laratrust, it not better* but you don't have to worry about a package with over 10k stars on Github and being actively maintained by the developers and the open source community.

2 likes
OussamaMater's avatar

@priyalaks If that helped you, maybe close the thread by setting a "best answer", for future comers.

1 like

Please or to participate in this conversation.