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 3d 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

26

—

LowBetter than 41% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

598d ago

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

v1.0.2PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67415494?v=4)[Ali RIlwan](/maintainers/RILBERRY)[@RILBERRY](https://github.com/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.9k102.4M1.4k](/packages/spatie-laravel-permission)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[alajusticia/laravel-logins

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

2014.5k](/packages/alajusticia-laravel-logins)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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