Download the PHP package nop-app/filament without Composer
On this page you can find all versions of the php package nop-app/filament. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nop-app/filament
More information about nop-app/filament
Files in nop-app/filament
Package filament
Short Description Nop integration for Filament admin dashboard
License MIT
Homepage https://github.com/nop-app/filament
Informations about the package filament
Nop for Filament
Integrate Nop with Filament. The package will enable Nop on all the edit pages of your Filament admin dashboard, e.g. /admin/projects/<id>/edit
, preventing multiple users to access the same page simultaneously.
Installation
Install the package via composer:
Then publish the package config file:
Configuration
There are a few notable configuration options for the package.
Key | Type | Description |
---|---|---|
token |
String | Your Nop token. If you don't have a project yet, create one for free at https://nop.is/account/projects/create. |
enabled_routes |
Array | List of routes (RegExp) where Nop should be enabled. By default it will be enabled in every "resource" edit page. |
user_name_field |
String|Null | The field corresponding to current authenticated user "name". |
settings |
Array | Additional Nop settings. You can take a look to the official Docs to find out more. |
Advanced user name
If you need advanced logic for the user "name" field, you can set user_name_field
to null
in your config/nop.php
file and then, although it's not defined in the values, set the nop.name
config.
For example in a middleware you can do:
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Danilo Polani
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.