PHPackages                             ferdiunal/nova-shield - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ferdiunal/nova-shield

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ferdiunal/nova-shield
=====================

A Laravel Nova package to manage permissions and roles.

v1.0.10(1y ago)11372[3 issues](https://github.com/ferdiunal/nova-shield/issues)MITPHPPHP ^8.2

Since Sep 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ferdiunal/nova-shield)[ Packagist](https://packagist.org/packages/ferdiunal/nova-shield)[ Fund](https://buymeacoffee.com/ferdiunal)[ GitHub Sponsors](https://github.com/sponsors/ferdiunal)[ RSS](/packages/ferdiunal-nova-shield/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

Nova Shield - WIP
=================

[](#nova-shield---wip)

[![](./art/banner.png)](./art/banner.png)

**Nova Shield** simplifies permission management for your [Laravel Nova](https://nova.laravel.com) resources using [Spatie Permission](https://github.com/spatie/laravel-permission). Easily grant or revoke access to specific resources and actions, streamlining your workflow and improving security.

Installation
------------

[](#installation)

```
composer require ferdiunal/nova-shield
```

Configuration
-------------

[](#configuration)

Optionally, you can publish the configuration file using this command:

```
php artisan vendor:publish --tag nova-shield-config
```

In the config file, you can control resource permissions by specifying the resources parameter with either the path to the Nova resources folder or a string class path.

For example, in the code below, we define the resources and their corresponding policies:

 Show Code ```
