SWEET1S / moonshine-roles-permissions

RBAC (Role-Based Access Control) in Laravel Moonshine Admin Panel
MIT License
18 stars 3 forks source link

A small error in the readme.md file leads to issues when installing the package according to the instructions provided in the readme.md #2

Closed carma100 closed 7 months ago

carma100 commented 7 months ago

Hello!

In the installation documentation for the 'moonshine-roles-permissions' package, there is no information about using the 'spatie/laravel-permission': '^5.11' package. If you run the command 'composer require sweet1s/moonshine-roles-permissions,' it installs version 1.2^ in which the 'Traits' are missing, making further configuration impossible. Therefore, please add information to the Readme.md file about the need for 'Spatie Laravel Permissions ^6'. Thank you.

The traits folder is missing

If you use 'spatie/laravel-permission': '^6', everything is okay.

The traits folder exists

SWEET1S commented 7 months ago

Hi, thank you for your message. I have already made an update in Readme.MD