PHPackages                             richardkeep/validate - 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. richardkeep/validate

ActiveBeta

richardkeep/validate
====================

A simple Laravel 5 package to validate form inputs on the go

1.1(6y ago)5151PHPPHP ^7.2

Since Nov 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/richardkeep/validate)[ Packagist](https://packagist.org/packages/richardkeep/validate)[ RSS](/packages/richardkeep-validate/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Easily Validate Form Inputs in Laravel
======================================

[](#easily-validate-form-inputs-in-laravel)

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

[](#installation)

First, pull in the package through Composer.

```
composer require richardkeep/validate
```

The package will automatically register its service provider.

To publish the config file to config/richard.php run:

php artisan vendor:publish --provider="Richardkeep\\Validate\\RichardkeepServiceProvider"

This is the default contents of the configuration:

```
return [
    'rules' => [
        'password' => 'required|min:3'
    ]
];
```

Usage
-----

[](#usage)

Place this code in your layout file or anywhere you want to use it.

```

@include('richard::validate')
```

for example,

```
>

        Update Password

        Password

    @include('richard::validate')

```

Ignore CSRF-Token Check
-----------------------

[](#ignore-csrf-token-check)

Open `app\Http\Middleware\VerifyCsrfTokenCheck.php` add `validate to the URI that should be excluded from CSRF check

```
/**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        'validate'
    ];
```

Customizations
--------------

[](#customizations)

Open `config\richard.php` and add more validation rules. For example,

```
'rules' => [
    'password' => 'required|min:3',
    'name' => 'required|min:5',
];
```

When a user starts typing, for example their email, the data is validated and the error message is displayed below the text box immediately.

[![Capture](https://user-images.githubusercontent.com/3874381/72202629-eae4ca00-3472-11ea-9e40-28e1560720fa.JPG)](https://user-images.githubusercontent.com/3874381/72202629-eae4ca00-3472-11ea-9e40-28e1560720fa.JPG)

Please try it guys.

Pull requests are highly welcomed.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~754 days

Total

3

Last Release

2316d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e792a98b94f185c9e91304d49804c4b9e677b15b438c1aaeaa6838083dd3609f?d=identicon)[RichardKeep](/maintainers/RichardKeep)

---

Top Contributors

[![richardkeep](https://avatars.githubusercontent.com/u/3874381?v=4)](https://github.com/richardkeep "richardkeep (30 commits)")[![srph](https://avatars.githubusercontent.com/u/5093058?v=4)](https://github.com/srph "srph (7 commits)")

### Embed Badge

![Health badge](/badges/richardkeep-validate/health.svg)

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

###  Alternatives

[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

71510.9M66](/packages/laravel-mcp)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[laragear/two-factor

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

339785.3k8](/packages/laragear-two-factor)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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