PHPackages                             sourcefli/laravel-permission-name-generator - 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. sourcefli/laravel-permission-name-generator

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

sourcefli/laravel-permission-name-generator
===========================================

Create and Retrieve permissions using conventions and very simple configuration

1.0.2(4y ago)8119MITPHPPHP ^7.4|^8.0

Since Feb 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jhavenz/laravel-permission-name-generator)[ Packagist](https://packagist.org/packages/sourcefli/laravel-permission-name-generator)[ RSS](/packages/sourcefli-laravel-permission-name-generator/feed)WikiDiscussions main Synced today

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

Laravel Permission Name Generator
---------------------------------

[](#laravel-permission-name-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/915f3ac40a28898ab7756736c1e8ac34e151d628fc0e5e4220a0af241f256bce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f75726365666c692f6c61726176656c2d7065726d697373696f6e2d6e616d652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sourcefli/laravel-permission-name-generator)[![Total Downloads](https://camo.githubusercontent.com/7c0e180e76384ae2ba5932dae7221433343e9d4ce680f55c64ece69c3dae08ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f75726365666c692f6c61726176656c2d7065726d697373696f6e2d6e616d652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sourcefli/laravel-permission-name-generator)

### Intro

[](#intro)

Create and Retrieve permission strings using methods instead of strings, and a very simple configuration.

Each item listed in the config will get a 'permission set', one of each:

- browse
- read
- edit
- add
- delete
- restore
- force\_delete
- `*` *(referenced using the 'wildcard' method)*

### Quick Example

[](#quick-example)

Adding one item within the `resources` array in your config, such as...

```
//=> config.php
