PHPackages                             minkbear/laravel-jsvalidation - 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. minkbear/laravel-jsvalidation

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

minkbear/laravel-jsvalidation
=============================

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

v1.3.1(10y ago)0504MITPHPPHP &gt;=5.4.0

Since Mar 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/minkbear/laravel-jsvalidation)[ Packagist](https://packagist.org/packages/minkbear/laravel-jsvalidation)[ Docs](https://github.com/proengsoft/laravel-jsvalidation)[ RSS](/packages/minkbear-laravel-jsvalidation/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (24)Used By (0)

Laravel 5 Javascript Validation
-------------------------------

[](#laravel-5-javascript-validation)

[![Latest Version](https://camo.githubusercontent.com/83701f6ffe30a1cbdf83b8ba5948e3d6ba29742d702584d222c90f51dfa0ecbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/proengsoft/laravel-jsvalidation/releases)[![Build Status](https://camo.githubusercontent.com/7863954f40f2dd387736c3af0d2ea5e38377d2dfa0790f379d8da4567c74ef65/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/proengsoft/laravel-jsvalidation)[![Code Coverage](https://camo.githubusercontent.com/63673fc2de5a03b3ce62cf13ac31ddb4c0f6cd8db076d33c82a09e3357019704/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/proengsoft/laravel-jsvalidation/?branch=master)[![Quality Score](https://camo.githubusercontent.com/416fc9a47892fc96b98f151823b0758c9473dfe8044e9df2cb9a0fb2b591b0de/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/proengsoft/laravel-jsvalidation)[![Total Downloads](https://camo.githubusercontent.com/1fb750b760721cdd4833077fc4d40e61756a122ab83f28945c8d650078f8fd94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/proengsoft/laravel-jsvalidation)

**Laravel Javascript Validation** package allows to reuse your Laravel [Validation Rules](http://laravel.com/docs/5.1/validation#available-validation-rules), [Messages](http://laravel.com/docs/5.1/validation#error-messages-and-views), [FormRequest](http://laravel.com/docs/5.1/validation#form-request-validation) and [Validators](http://laravel.com/docs/5.1/validation#form-request-validation) to validate forms automatically in client side without need to write any Javascript code or use HTML Builder Class.

You can validate forms automatically referencing it to your defined validations. The messages are loaded from your validations and translated according your Localization preferences.

#### Feature overview

[](#feature-overview)

- Automatic creation of Javascript validation based on your [Validation Rules](http://laravel.com/docs/5.1/validation#available-validation-rules) or [FormRequest](http://laravel.com/docs/5.1/validation#form-request-validation), no Javascript coding required.
- Supports other validation packages.
- AJAX validation for [ActiveURL](http://laravel.com/docs/5.1/validation#rule-active-url), [Unique](http://laravel.com/docs/5.1/validation#rule-unique) and [Exists](http://laravel.com/docs/5.1/validation#rule-exists) Rules, [Custom Validation Rules](http://laravel.com/docs/5.1/validation#custom-validation-rules) and other validation packages
- Unobtrusive integration, you can use without Laravel Form Builder
- The package uses [Jquery Validation Plugin](http://jqueryvalidation.org/) bundled in provided script.
- Uses Laravel Localization to translate messages.

#### Supported Rules

[](#supported-rules)

**Almost all [Validation Rules](http://laravel.com/docs/5.1/validation#available-validation-rules) provided by Laravel and other packages are supported**.

Almost are validated in client-side using Javascript, but in some cases, the validation should to be done in server-side via AJAX:

- [ActiveURL](http://laravel.com/docs/5.1/validation#rule-active-url)
- [Unique](http://laravel.com/docs/5.1/validation#rule-unique)
- [Exists](http://laravel.com/docs/5.1/validation#rule-exists)
- [Custom Validation Rules](http://laravel.com/docs/5.1/validation#custom-validation-rules)
- Validations provided by other packages

##### Unsupported Rules and Features

[](#unsupported-rules-and-features)

Some Laravel features and validations are not implemented yet. Pull Requests are welcome!

- Validating Arrays using wildcards **\['person.\*.email' =&gt; 'email|unique:users'\]** is not supported. #139 (supported in *master* branch)
- [Distinct](https://laravel.com/docs/5.2/validation#rule-distinct) rule
- [Present](https://laravel.com/docs/5.2/validation#rule-present) rule
- [InArray](https://laravel.com/docs/5.2/validation#rule-in-array) rule
- [DateFormat](https://laravel.com/docs/5.2/validation#rule-date-format) rule don't support timezone format

#### Getting started

[](#getting-started)

The easiest way to create Javascript validations is using [Laravel Form Request Validation](http://laravel.com/docs/5.1/validation#form-request-validation).

##### Installation

[](#installation)

Follow the [Installation Guide](https://github.com/proengsoft/laravel-jsvalidation/wiki/Installation) to install the package. **The default config shlould work out-of-box**

##### Validating Form Request

[](#validating-form-request)

Call [JsValidator](https://github.com/proengsoft/laravel-jsvalidation/wiki/Facade) Facade in your view to validate any [FormRequest](https://laravel.com/docs/master/validation)

```

{!! JsValidator::formRequest('App\Http\Requests\MyFormRequest') !!}
```

Take a look to [Basic Usage](https://github.com/proengsoft/laravel-jsvalidation/wiki/Basic-Usage) or [Examples](https://github.com/proengsoft/laravel-jsvalidation/wiki/Validating-Examples) to get more information.

#### Documentation

[](#documentation)

**To get more info refer to [Project Wiki](https://github.com/proengsoft/laravel-jsvalidation/wiki/Home)**

#### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 75.4% 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 ~18 days

Recently: every ~29 days

Total

17

Last Release

3831d ago

### Community

Maintainers

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

---

Top Contributors

[![torrentalle](https://avatars.githubusercontent.com/u/1963459?v=4)](https://github.com/torrentalle "torrentalle (95 commits)")[![gaffel](https://avatars.githubusercontent.com/u/701614?v=4)](https://github.com/gaffel "gaffel (8 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (7 commits)")[![samuelfa](https://avatars.githubusercontent.com/u/4594902?v=4)](https://github.com/samuelfa "samuelfa (5 commits)")[![adamtester](https://avatars.githubusercontent.com/u/2249484?v=4)](https://github.com/adamtester "adamtester (2 commits)")[![drjoju](https://avatars.githubusercontent.com/u/461705?v=4)](https://github.com/drjoju "drjoju (2 commits)")[![lvqingan](https://avatars.githubusercontent.com/u/2076441?v=4)](https://github.com/lvqingan "lvqingan (1 commits)")[![minkbear](https://avatars.githubusercontent.com/u/233714?v=4)](https://github.com/minkbear "minkbear (1 commits)")[![loshmis](https://avatars.githubusercontent.com/u/6163000?v=4)](https://github.com/loshmis "loshmis (1 commits)")[![changhuapeng](https://avatars.githubusercontent.com/u/9205678?v=4)](https://github.com/changhuapeng "changhuapeng (1 commits)")[![sineld](https://avatars.githubusercontent.com/u/445349?v=4)](https://github.com/sineld "sineld (1 commits)")[![smb](https://avatars.githubusercontent.com/u/139566?v=4)](https://github.com/smb "smb (1 commits)")[![adriandmitroca](https://avatars.githubusercontent.com/u/3842935?v=4)](https://github.com/adriandmitroca "adriandmitroca (1 commits)")

---

Tags

laravelvalidatorvalidationjavascriptjqueryformproengsoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/minkbear-laravel-jsvalidation/health.svg)

```
[![Health](https://phpackages.com/badges/minkbear-laravel-jsvalidation/health.svg)](https://phpackages.com/packages/minkbear-laravel-jsvalidation)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[proengsoft/laravel-jsvalidation

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

1.1k2.3M50](/packages/proengsoft-laravel-jsvalidation)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[propaganistas/laravel-disposable-email

Disposable email validator

6012.9M7](/packages/propaganistas-laravel-disposable-email)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M124](/packages/laravel-mcp)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M124](/packages/laravel-pulse)

PHPackages © 2026

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