PHPackages                             ahmmed/admin-ancillary - 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. ahmmed/admin-ancillary

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

ahmmed/admin-ancillary
======================

This package will check permission of admin user to control access in admin.

v4.0.1(3y ago)144MITCSSPHP ^7.3|^8.0CI failing

Since Sep 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Shahriar-ahmmed/admin-ancillary)[ Packagist](https://packagist.org/packages/ahmmed/admin-ancillary)[ RSS](/packages/ahmmed-admin-ancillary/feed)WikiDiscussions master Synced 1mo ago

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

Ahmmed/AdminAncillary

Laravel Ahmmed/AdminAncillary check the role based permissions to built in Auth System of Laravel 5. AdminAncillary protects routes and even crud controller methods.

Table of Contents

Requirements

Getting Started

Documentation

Contribution Guidelines

Requirements

```
This package requires PHP  >=7.0.0

```

Getting Started

Installation

```
composer require ahmmed/admin-ancillary

Publish the package migrations,asset and views to your application

php artisan vendor:publish --provider="Ahmmed\AdminAncillary\AdminAncillaryServiceProvider"

After successful publish, Add the role relationship method and user_role fillable field  to your User model.

public function role(){
    return $this->hasOne(Role::class,'id','user_role');
}

and also add below lines into DatabaseSeeder file

$this->call(UserTableSeeder::class);
$this->call(MenuTableSeeder::class);
$this->call(RoleTableSeeder::class);

After that run

"php artisan migrate"

and

"php artisan db:seed"

Add the middleware to your app/Http/Kernel.php.

protected $routeMiddleware = [
'check_permission' => 'Ahmmed\AdminAncillary\CheckPermission',
];

If your application have no error view page then add error view page.

Also add DEFAULT_LOGO and DEFAULT_FAVICON in your .env file for upload logo and favicon in app settings

```

Documentation

```
Follow along the Wiki to find out more.

```

Contribution Guidelines

```
Support follows PSR-2 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~149 days

Recently: every ~292 days

Total

9

Last Release

1229d ago

Major Versions

v1.1.3 → v3.02022-12-26

v3.1.1 → v4.02022-12-26

PHP version history (2 changes)v1.1.4PHP &gt;=7.0.0

v3.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/78908185d093655ab096fb3a114a41bc8abbc0d17d4483e3f829ad727f8f0378?d=identicon)[ahmmed](/maintainers/ahmmed)

---

Top Contributors

[![Shahriar-ahmmed](https://avatars.githubusercontent.com/u/10974269?v=4)](https://github.com/Shahriar-ahmmed "Shahriar-ahmmed (10 commits)")

---

Tags

Admin control access permission

### Embed Badge

![Health badge](/badges/ahmmed-admin-ancillary/health.svg)

```
[![Health](https://phpackages.com/badges/ahmmed-admin-ancillary/health.svg)](https://phpackages.com/packages/ahmmed-admin-ancillary)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M42](/packages/santigarcor-laratrust)[pragmarx/google2fa-laravel

A One Time Password Authentication package, compatible with Google Authenticator.

1.0k15.5M63](/packages/pragmarx-google2fa-laravel)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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