PHPackages                             rijolee/authmanager - 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. rijolee/authmanager

ActiveProject

rijolee/authmanager
===================

for managing user roles and permission

116HTML

Since Mar 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rijolee/authmanager)[ Packagist](https://packagist.org/packages/rijolee/authmanager)[ RSS](/packages/rijolee-authmanager/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

authmanager
===========

[](#authmanager)

to managing your system's authority and permission menu

About
-----

[](#about)

In much more complext system information, sometimes it will take a hard times to manage menu and give some roles for user. When your system become more complex and bigger, user roles become more important to achieve. You have to integrate your menu, roles and your user. This package contain some management system for having all those issue in one solution. You can manage menu You can manage event/role, such as admin, view only, save only, request, approve, etc You can manage group user You can manage all of them in permission

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

[](#installation)

The preferred method of installation is via \[Packagist\]\[\] and \[Composer\]\[\]. Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require rijolee/authmanager
```

edit your config/app.php then in your provider section add

```
    'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        ...
        rijolee\AuthManager\AuthManagerServiceProvider::class,
```

Migration
---------

[](#migration)

This package contain migration file that create default tables that for authmanager, to do it just command

```
php artisan migrate
```

Publish
-------

[](#publish)

this package contain asset js publish this by command

```
php artisan publish:vendor
```

Require
-------

[](#require)

this package contain middleware that require Auth which is only user that have name authmanager can login into this authority manager ui so you will have to register this username into your application

User Model
----------

[](#user-model)

this package extends User Model that have primary key 'user\_id' so modify your user model

```
   protected $primaryKey = 'user_id';
```

Getting Start
-------------

[](#getting-start)

to access the view to manager authmanager just put url /auhmanager in your browser

```
http://yourproject/authmanager
```

voila! you can manage your authority menu and permission for your project

Spotlight
---------

[](#spotlight)

you can access function hasEvents($event\_id, $menu\_id) inside Users Model that return true or false based on your menu id and event id so you can use it in your system to know wether this user allow some function in your system e.q(rijolee\\AuthManager\\Model\\Users::find(1)-&gt;hasEvents('E1','M1'))

you can access route /authmanager/getmenu/{sys}/{rootid} to return JSON data your menu based on parameter your system name {sys} and your root id {rootid} note: system name information is column in menu table, type 'all' if you wanna get all data

Further Documentation
---------------------

[](#further-documentation)

there will be further documentation for this package

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rijolee-authmanager/health.svg)

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

PHPackages © 2026

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