Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharinda Rodrigo committed Aug 2, 2023
1 parent 276d6fb commit 01f3d15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ Since the package depends on [Spatie's Permission](https://spatie.be/docs/larave
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
```

Add the plugin to teh AdminPanelProvider
```php
use Althinect\FilamentSpatieRolesPermissions\FilamentSpatieRolesPermissionsPlugin;

$panel
...
->plugin(FilamentSpatieRolesPermissionsPlugin::make())

```

Now you should add any other configurations needed for the Spatie-Permission package.

**Note:** This will override your existing config file.
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "althinect/filament-spatie-roles-permissions",
"description": "",
"version": "2.0.0",
"keywords": [
"althinect",
"filament-spatie-roles-permissions"
Expand Down

0 comments on commit 01f3d15

Please sign in to comment.