PHPackages                             riley/admin-approver - 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. riley/admin-approver

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

riley/admin-approver
====================

Laravel package to manage admin approval flow for new users

v1.1.0(1y ago)15MITPHPPHP ^8.0

Since Nov 13Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nehtha-dev/admin-approver)[ Packagist](https://packagist.org/packages/riley/admin-approver)[ RSS](/packages/riley-admin-approver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (10)Used By (0)

Laravel Admin Approver
======================

[](#laravel-admin-approver)

A Laravel package that implements an admin approval flow for new user registrations.

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

[](#installation)

```
composer require riley/admin-approver
```

Configuration
-------------

[](#configuration)

1. Publish the config file:

```
php artisan vendor:publish --tag="admin-approver-config"
```

2. Add the trait to your User model:

```
use Riley\AdminApprover\Traits\RequiresAdminApproval;

class User extends Authenticatable
{
    use RequiresAdminApproval;
}
```

3. Run migrations:

```
php artisan migrate
```

Usage
-----

[](#usage)

Add the middleware to your routes:

```
Route::middleware(['admin.waiting'])->group(function () {
    // Protected routes that require admin approval
});
```

Configuration Options
---------------------

[](#configuration-options)

```
return [
    'home' => '/',  // Redirect path after approval
    'waiting_route' => '/waiting-admin-approve', // Waiting page route
    'middleware' => ['web', 'auth'], // Default middleware
    'routes' => [
        'enabled' => true,
        'prefix' => 'admin',
        'middleware' => ['web', 'auth']
    ],
    'views' => [
        'layout' => 'layouts.app' // Your layout file
    ]
];
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~0 days

Total

8

Last Release

547d ago

PHP version history (2 changes)v1.0.1PHP ^7.4|^8.0

v1.0.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a51a0d97d87b31fd3da9df3413952cece9ff250a6ab4f8f6ba3129c3432cb09?d=identicon)[RILBERRY](/maintainers/RILBERRY)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/riley-admin-approver/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[casbin/laravel-authz

An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.

324339.9k4](/packages/casbin-laravel-authz)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)[wnikk/laravel-access-rules

Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.

103.6k1](/packages/wnikk-laravel-access-rules)

PHPackages © 2026

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