PHPackages                             htech/roles-and-permissions - 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. htech/roles-and-permissions

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

htech/roles-and-permissions
===========================

Roles and Permissions integration for laravel development use by web developers on htechcorp

041Blade

Since Oct 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/htechweb/Roles-And-Permissions)[ Packagist](https://packagist.org/packages/htech/roles-and-permissions)[ RSS](/packages/htech-roles-and-permissions/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![Htechcorp](https://camo.githubusercontent.com/f0132bbe800d30e042be5817a191158a67b4e441df21fe04608ff9052cce63fc/68747470733a2f2f7777772e6874656368636f72702e6e65742f696d616765732f6c6f676f5f736d616c6c2e706e67)](https://www.htechcorp.net/)
 Htech Roles And Permissions

===============================================================================================================================================================================================================================================================================

[](#htech-roles-and-permissions)

Installation
============

[](#installation)

```
	composer require htech/roles-and-permissions

```

Usage
=====

[](#usage)

No documentation yet. But we created some examples. Run in CLI.

```
	php artisan vendor:publish

```

Then choose the number of the package then run migration and seeder

You are free to modify the published files. For the routes. Just override it if you want to modify. Here are the list of the routes.

```
	Route::get('roles-and-permissions', 'RolesAndPermissionsController@index');

    Route::post('roles-and-permissions/add-role', 'RolesAndPermissionsController@addRole');
    Route::post('roles-and-permissions/edit-role', 'RolesAndPermissionsController@editRole');
    Route::get('roles-and-permissions/roles/delete/{role_id}', 'RolesAndPermissionsController@deleteRole');

    Route::post('roles-and-permissions/add-permission', 'RolesAndPermissionsController@addPermission');
    Route::post('roles-and-permissions/edit-permission', 'RolesAndPermissionsController@editPermission');
    Route::get('roles-and-permissions/permissions/delete/{role_id}', 'RolesAndPermissionsController@deletePermission');

    Route::post('roles-and-permissions/update-role-permissions/{role_id}', 'RolesAndPermissionsController@updateRolePermissions');

```

### Troubleshooting

[](#troubleshooting)

- If you have problems in installing with lower versions of PHP. Try adding params `ignore-platform-reqs` in composer require

```
	composer require htech/roles-and-permissions --ignore-platform-reqs

```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The GNU General Public License v3.0 (GNU GPLv3). Please see [License File](LICENSE.md) for more information.

#### Author

[](#author)

Zik M.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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/c86292bbd82de2cfd8e57d297f81afd4ee36e16bf54adf6b626c493b542fac66?d=identicon)[dev.web](/maintainers/dev.web)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/htech-roles-and-permissions/health.svg)

```
[![Health](https://phpackages.com/badges/htech-roles-and-permissions/health.svg)](https://phpackages.com/packages/htech-roles-and-permissions)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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