PHPackages                             kubis/agegate - 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. kubis/agegate

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

kubis/agegate
=============

Laravel Package for websites that requires age validation

v1.1.2(6y ago)232[1 PRs](https://github.com/kubis-interactive/agegate/pulls)MITPHPCI failing

Since Jun 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kubis-interactive/agegate)[ Packagist](https://packagist.org/packages/kubis/agegate)[ Docs](https://github.com/kubis/agegate)[ RSS](/packages/kubis-agegate/feed)WikiDiscussions master Synced 3d ago

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

AgeGate
=======

[](#agegate)

Laravel 5.8.+ package for websites that requires age validation.

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

[](#installation)

Via Composer

```
$ composer require kubis/agegate
```

After instalation, publish the config and template files for full project implementation

```
$ php artisan vendor:publish --provider="Kubis\AgeGate\AgeGateServiceProvider"
```

Usage
-----

[](#usage)

**Filesystem**

1. `/config/agegate.php` for package configurations
2. `/resources/views/vendor/kubis/agegate/` folder to change templates.

**Middleware**

Packages offers a middleware `age-gate` to protect desired routes (or all) behind a form verification. Verification is done by package according to configuration.

Example

```
Route::group(['middleware' => 'age-gate'], function(){
    Route::get('/', function () {
        return view('pages.homepage');
    });
});
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

\[TODO\] Testing
----------------

[](#todo-testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email daniel\[@\]kubisinteractive.com instead of using the issue tracker.

Credits
-------

[](#credits)

- [All Contributors](contributing.md)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

4

Last Release

2517d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1052439?v=4)[Daniel P.](/maintainers/akizor)[@akizor](https://github.com/akizor)

---

Top Contributors

[![akizor](https://avatars.githubusercontent.com/u/1052439?v=4)](https://github.com/akizor "akizor (6 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

laravelagegatekubisage gateage validation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kubis-agegate/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5682.0M15](/packages/directorytree-ldaprecord-laravel)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)

PHPackages © 2026

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