abr4xas/nova-custom-permission

This package is abandoned and no longer maintained. No replacement package was suggested.

A Laravel Nova tool.

dev-master 2020-03-22 22:10 UTC

This package is auto-updated.

Last update: 2024-04-15 13:25:13 UTC


README

This only for my needs ;)

Installation

You can install the package via composer:

composer require abr4xas/nova-custom-permission

Then, you will need to register the tool within the NovaServiceProvider.php:

use Abr4xas\NovaCustomPermission\NovaCustomPermissionTool;
...

/**
 * Get the tools that should be listed in the Nova sidebar.
 *
 * @return array
 */
public function tools()
{
    return [
        // other tools
        new NovaCustomPermissionTool,
    ];
}

Keep in mind that this is an 15 minutes work tool, so use carefully