PHPackages                             techaxion/user-roleright-laravel - 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. techaxion/user-roleright-laravel

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

techaxion/user-roleright-laravel
================================

User Role and Right Management With Route

v1.0.25(1mo ago)044MITBladePHP ^8.2

Since Apr 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/bhautik-bhuva/user-roleright-laravel)[ Packagist](https://packagist.org/packages/techaxion/user-roleright-laravel)[ RSS](/packages/techaxion-user-roleright-laravel/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (19)Used By (0)

user-roleright-laravel
======================

[](#user-roleright-laravel)

User Role and Right Management With Route

Features
--------

[](#features)

- Manage users, roles, and permissions
- Assign roles and permissions to users
- Middleware for route protection
- Easy integration with Laravel projects

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

[](#installation)

Add the following code to the composer.json file located in the root folder of your project.

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://gitlab.techaxion.com/composer-plugins/laravel/role-right-management.git"
    }
]
```

```
composer require techaxion/user-roleright-laravel
```

```
* Checks if the 'module_action' table exists to prevent reinstallation.
* Publishes package routes using the 'vendor:publish' Artisan command.
* Runs package-specific migrations for required tables.
* Seeds the 'module_action' table with initial data.
* Publishes package configuration and other assets.
* Appends a require statement for dynamic routes to 'routes/web.php'.
* Adds a 'remove-useraccess' script to 'composer.json' for easy package removal.

```

Initialization
--------------

[](#initialization)

```
php artisan useraccess:init-config
```

```
* Initializes the package by creating necessary directories and files.
* Creates a `config/useraccess.php` file for dynamic layout file changes and other configurations.
* Outputs an informational message indicating successful initialization.

```

uninstall
---------

[](#uninstall)

```
composer run remove-useraccess
```

```
 * Checks for the existence of the `routes/UserAccessDynamicRoutes.php` file:
 *    - If it exists, removes the dynamic route inclusion from `routes/web.php` and deletes the dynamic routes file.
 *    - If unable to open `routes/web.php` for writing, outputs an error message.
 * Opens and decodes the `composer.json` file, removes the `remove-useraccess` script entry, and writes the updated JSON back to the file.
 * Outputs an informational message indicating the completion of the package removal process.
 * Checks for the existence of the `config/useraccess.php` file.
 *    - If it exists, removes `useraccess.php` from `config` folder.

```

Usage within Plugin
-------------------

[](#usage-within-plugin)

Layout File: @extends('laravelMain::' . $layout\_file)

Push content to above layout file using: @section(config('useraccess.yield\_container'))

Users table from Database: user\_table: users(default table)

Migration URL, where you can get all routes that are assigned to you : https:test.com/useraccess/menu/migrate

Menu management setting page URL: https:test.com/useraccess/setting You can change the configurations like Users table, layout path, Yield Container: You can also get code to display all dynamic routes

License
-------

[](#license)

MIT

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance91

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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

Every ~26 days

Recently: every ~105 days

Total

18

Last Release

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76a22bb39c14587bdb7a5128375c014a1ce159f565dcf586c1182062360f7bb4?d=identicon)[destroking95](/maintainers/destroking95)

---

Top Contributors

[![bhargavbhuva-techaxion](https://avatars.githubusercontent.com/u/207652212?v=4)](https://github.com/bhargavbhuva-techaxion "bhargavbhuva-techaxion (31 commits)")[![bhautik-bhuva](https://avatars.githubusercontent.com/u/34367141?v=4)](https://github.com/bhautik-bhuva "bhautik-bhuva (1 commits)")

### Embed Badge

![Health badge](/badges/techaxion-user-roleright-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/techaxion-user-roleright-laravel/health.svg)](https://phpackages.com/packages/techaxion-user-roleright-laravel)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

137236.2k8](/packages/statamic-rad-pack-runway)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)

PHPackages © 2026

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