PHPackages                             rickgoemans/laravel-permission-service - 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. rickgoemans/laravel-permission-service

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

rickgoemans/laravel-permission-service
======================================

A Laravel permission helper service

v6.0.0(1mo ago)0416[1 PRs](https://github.com/rickgoemans/laravel-permission-service/pulls)MITPHPPHP ^8.4CI passing

Since Oct 17Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/rickgoemans/laravel-permission-service)[ Packagist](https://packagist.org/packages/rickgoemans/laravel-permission-service)[ Docs](https://github.com/rickgoemans/laravel-permission-service)[ RSS](/packages/rickgoemans-laravel-permission-service/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (26)Versions (13)Used By (0)

A Laravel permission helper service
===================================

[](#a-laravel-permission-helper-service)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b464bbba9ce533d014fa17d6227239e2e932a19294b17852433be4dbd3ac5e4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269636b676f656d616e732f6c61726176656c2d7065726d697373696f6e2d736572766963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rickgoemans/laravel-permission-service)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7405c168770500282c8e954f174fce1b5fb40ad97f016a3aef92d0e89737ddf8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7269636b676f656d616e732f6c61726176656c2d7065726d697373696f6e2d736572766963652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/rickgoemans/laravel-permission-service/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/9ae254fad0da6b6fe75db2be9b2e6bea003fced7d964c81d9e93425fb5fc8886/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7269636b676f656d616e732f6c61726176656c2d7065726d697373696f6e2d736572766963652f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/rickgoemans/laravel-permission-service/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/533e167e7dd1859de69b42ffb4899da4afca3cf66558bbf90e5298bdfc841af9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7269636b676f656d616e732f6c61726176656c2d7065726d697373696f6e2d736572766963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rickgoemans/laravel-permission-service)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/59364eace7c2d27eb075f2c6f318bd0af7fbf3b5a9ad1eebf3025665ee288eff/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d7065726d697373696f6e2d736572766963652e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-permission-service)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require rickgoemans/laravel-permission-service
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-permission-service-config"
```

This is the contents of the published config file:

```
