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

gabriel27's avatar

2023 - Laravel 9 - best Auth with roles and permissions package?

Hello,

I am looking into creating a Laravel app with multiple roles and permissions. I read online that the best 2 packages are Laravel Breeze and Laravel-permission by Spatie.

I also found Santigarcor/laratrust.

I am looking into this as I read that Laravel is looking into taking out the @can option as it is considered deprecated since Laravel 7.x. Is this true?

Any suggestion is greatly appreciated.

Thank you.

0 likes
2 replies
OussamaMater's avatar

Laravel breeze is a starter kit, it has nothing to do with roles and permissions.

On the other hand both Laratrust and laravel-permission are great packages, I personally would go with spatie, because they always support the latest version and update the code base, it's more active than Laratrust.

3 likes

Please or to participate in this conversation.