![]() It also mentions important considerations after extending this package's models for UUID capability. It explains some changes you may want to make to the migrations and config file before continuing. NOTE: If you are using UUIDs, see the Advanced section of the docs on UUID steps, before you continue. You should publish the migration and the config/permission.php config file with: php artisan vendor : publish - provider = "Spatie\Permission\PermissionServiceProvider" ![]() Or you may manually add the service provider in your config/app.php file: 'providers' => Optional: The service provider will automatically get registered. You can install the package via composer: composer require spatie / laravel - permission If you already have a file by that name, you must rename or remove it. This package publishes a config/permission.php file. ![]() Package VersionĬonsult the Prerequisites page for important considerations regarding your User models! ![]() This package can be used with Laravel 6.0 or higher. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |