PHPackages                             clumsy/age-check - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. clumsy/age-check

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

clumsy/age-check
================

An age checker for Laravel

v0.2.6(9y ago)3164MITPHPPHP &gt;=5.4.0

Since Jul 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Flipjms/age-check)[ Packagist](https://packagist.org/packages/clumsy/age-check)[ RSS](/packages/clumsy-age-check/feed)WikiDiscussions master Synced today

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

Age-Check
=========

[](#age-check)

[![Codacy Badge](https://camo.githubusercontent.com/03a480af1280438f0be4a7a42002055842cf91901245b415cb7a3f16769c7246/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3238656163396433353730633437303039626366613565643861313936353937)](https://www.codacy.com/app/flipjms/age-check?utm_source=github.com&utm_medium=referral&utm_content=Flipjms/age-check&utm_campaign=Badge_Grade)[![SensioLabsInsight](https://camo.githubusercontent.com/1b832912a0ecbbb9c313d502196af18ed28918b8dc21bb184a1b3d952ff536d8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35623833313231352d363766382d343866302d396138342d6131363432633238303438312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5b831215-67f8-48f0-9a84-a1642c280481)

A package to help create an age-check verification.

License
-------

[](#license)

Clumsy Age-Check is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

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

[](#installation)

To get started with Age-Check, add to your `composer.json` file as a dependency:

```
composer require clumsy/age-check:0.2.*

```

If you are using Laravel 4, stick to the branch 0.1:

```
composer require clumsy/age-check:0.1.*

```

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

[](#configuration)

After installing the Age-Check library, register the ServiceProvider in your `config/app.php` configuration file:

```
'providers' => [
    // Other service providers...

    Clumsy\AgeCheck\AgeCheckServiceProvider::class,
],
```

Register the middleware in your `app/Http/Kernel.php` file:

```
protected $routeMiddleware = [
        //Other middlewares...

        'age-check' => \Clumsy\AgeCheck\Http\Middleware\ValidateAge::class,
    ];
```

Publish the config file:

```
php artisan vendor:publish --provider="Clumsy\AgeCheck\AgeCheckServiceProvider" --tag="config"

```

and edit it according to your project. Usually you want to edit the `success-url` and `fail-url` which are the urls where the user will get redirected in case of fail or success.

Usage
-----

[](#usage)

Create a route group with the age-check middleware in it:

```
Route::group(
    [
        'middleware' => ['age-check']
    ],
    function() {
        //Your routes goes here...
    }
);
```

This package gives you a basic view with a basic form without styling. You should change the config file to use one of you own and use the partials views provided to help you generate the form.

You can also publish the views and change them to suit your needs:

```
php artisan vendor:publish --provider="Clumsy\AgeCheck\AgeCheckServiceProvider" --tag="views"

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

10

Last Release

3641d ago

PHP version history (2 changes)v0.1.1PHP &gt;=5.3.0

v0.2.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10bf43f831caf63d358e713c1aa7811329ff0d6e342643222917bc2f8df06f6a?d=identicon)[flipjms](/maintainers/flipjms)

---

Top Contributors

[![tbuteler](https://avatars.githubusercontent.com/u/330375?v=4)](https://github.com/tbuteler "tbuteler (2 commits)")

---

Tags

laravelcmsblockage-check

### Embed Badge

![Health badge](/badges/clumsy-age-check/health.svg)

```
[![Health](https://phpackages.com/badges/clumsy-age-check/health.svg)](https://phpackages.com/packages/clumsy-age-check)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M304](/packages/laravel-horizon)[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M223](/packages/laravel-octane)[laravel/nightwatch

The official Laravel Nightwatch package.

36210.1M36](/packages/laravel-nightwatch)[elegantweb/sanitizer

Sanitization library for PHP and the Laravel framework.

1151.1M3](/packages/elegantweb-sanitizer)

PHPackages © 2026

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