PHPackages                             amin3536/simple-role-permission - 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. amin3536/simple-role-permission

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

amin3536/simple-role-permission
===============================

simple-role-permission

v1.0.0(5y ago)24MITPHP

Since Feb 20Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

SimpleRolePermission
====================

[](#simplerolepermission)

[![Latest Version on Packagist](https://camo.githubusercontent.com/df1b5008ade9f3361ebb0b2eb57b2c4fb0bbef94e88daa449da5ff7b345def8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d696e333533362f73696d706c652d726f6c652d7065726d697373696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amin3536/simple-role-permission)[![Total Downloads](https://camo.githubusercontent.com/9577253585214e3cb594a2978b1674898b77219e9093aea7bfa3d916c11009ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d696e333533362f73696d706c652d726f6c652d7065726d697373696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amin3536/simple-role-permission)[![Build Status](https://camo.githubusercontent.com/9ecaafbe15c14ee3376622c9610b27925254e6bd57e1cf32196fa0dd4195ff85/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616d696e333533362f73696d706c652d726f6c652d7065726d697373696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/amin3536/simple-role-permission)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

simple permission and rule for [laravel-api-provider](https://github.com/amin3536/laravel-API-UserProvider)

this package is under develop and it has not simple usage for now :) help me to develop this package or wait for it ;)

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

[](#installation)

Via Composer

```
$ composer require amin3536/simple-role-permission
```

Usage
-----

[](#usage)

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

to do list
----------

[](#to-do-list)

- support in client and service side ( micro service )
- add migration in library
- auto add middleware
- polymorphic relations different user model and rules
- add test
- add CI style and CI
- add document

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [author name](https://github.com/amin3536)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1907d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdc77a1bfd52aa8346afc0bde4143fbee5b9cffe013adaa1b5f4a50ed04470f1?d=identicon)[amin3520](/maintainers/amin3520)

---

Top Contributors

[![amin3536](https://avatars.githubusercontent.com/u/20286200?v=4)](https://github.com/amin3536 "amin3536 (6 commits)")

---

Tags

laravelSimpleRolePermission

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/amin3536-simple-role-permission/health.svg)

```
[![Health](https://phpackages.com/badges/amin3536-simple-role-permission/health.svg)](https://phpackages.com/packages/amin3536-simple-role-permission)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5682.0M15](/packages/directorytree-ldaprecord-laravel)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
