This is the documentation for v5. You can switch versions in the menu at the top. Check your current version with the following command:

composer show spatie/laravel-permission

Installation in Laravel

On this page

  1. Installing