PHPackages                             govindtomar/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. govindtomar/permission

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

govindtomar/permission
======================

User and Role Permission Package

018Blade

Since Feb 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/govindtomar/permission)[ Packagist](https://packagist.org/packages/govindtomar/permission)[ RSS](/packages/govindtomar-permission/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

permission
==========

[](#permission)

publish provider

php artisan vendor:publish --provider=GovindTomar\\Permission\\PermissionServiceProvider

Add middleware

'permission' =&gt; \\App\\Http\\Middleware\\AccessPermissionMiddleware::class,

Add in User Table

$table-&gt;unsignedBigInteger('role\_id')-&gt;default(3); $table-&gt;foreign('role\_id')-&gt;references('id')-&gt;on('roles');

Add in each controller

public function \_\_construct(){ $this-&gt;middleware('permission'); }

###  Health Score

17

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![govindtomar](https://avatars.githubusercontent.com/u/20748517?v=4)](https://github.com/govindtomar "govindtomar (9 commits)")

### Embed Badge

![Health badge](/badges/govindtomar-permission/health.svg)

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

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

3.8k115.1M1.0k](/packages/league-oauth2-client)[google/auth

Google Auth Library for PHP

1.4k266.3M128](/packages/google-auth)[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k98.4M89](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99895.6M97](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70316.0M32](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41720.5M102](/packages/league-oauth2-google)

PHPackages © 2026

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