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

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

proengsoft/laravel-jsvalidation
===============================

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

v4.10.3(2mo ago)1.1k2.3M—8.2%176[10 PRs](https://github.com/proengsoft/laravel-jsvalidation/pulls)20MITPHPPHP ^8.2CI passing

Since Mar 17Pushed 1mo ago28 watchersCompare

[ Source](https://github.com/proengsoft/laravel-jsvalidation)[ Packagist](https://packagist.org/packages/proengsoft/laravel-jsvalidation)[ Docs](https://github.com/proengsoft/laravel-jsvalidation)[ GitHub Sponsors](https://github.com/bytestream)[ RSS](/packages/proengsoft-laravel-jsvalidation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (91)Used By (20)

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

[](#laravel-javascript-validation)

[![Latest Version](https://camo.githubusercontent.com/83701f6ffe30a1cbdf83b8ba5948e3d6ba29742d702584d222c90f51dfa0ecbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/83701f6ffe30a1cbdf83b8ba5948e3d6ba29742d702584d222c90f51dfa0ecbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)[![tests](https://github.com/proengsoft/laravel-jsvalidation/actions/workflows/php-tests.yml/badge.svg)](https://github.com/proengsoft/laravel-jsvalidation/actions/workflows/php-tests.yml/badge.svg)[![Code Coverage](https://camo.githubusercontent.com/8641520acff06c53d2db67ddf0ef0eff20be8f4e5ff44ca8bb99286a84f709ba/68747470733a2f2f6170702e636f6465636f762e696f2f67682f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e)](https://camo.githubusercontent.com/8641520acff06c53d2db67ddf0ef0eff20be8f4e5ff44ca8bb99286a84f709ba/68747470733a2f2f6170702e636f6465636f762e696f2f67682f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e)[![Total Downloads](https://camo.githubusercontent.com/1fb750b760721cdd4833077fc4d40e61756a122ab83f28945c8d650078f8fd94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1fb750b760721cdd4833077fc4d40e61756a122ab83f28945c8d650078f8fd94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f656e67736f66742f6c61726176656c2d6a7376616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)[![License](https://camo.githubusercontent.com/c090e080484e2a2bc766446291d04437db823929042bf614b26a1643660ddf6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c090e080484e2a2bc766446291d04437db823929042bf614b26a1643660ddf6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e3f7374796c653d666c61742d737175617265)

**Laravel Javascript Validation** package allows to reuse your Laravel [Validation Rules](https://laravel.com/docs/5.4/validation#available-validation-rules), [Messages](https://laravel.com/docs/5.4/validation#error-messages-and-views), [FormRequest](https://laravel.com/docs/5.4/validation#form-request-validation) and [Validators](https://laravel.com/docs/5.4/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.

#### Supported versions

[](#supported-versions)

- PHP 8.2 - 8.4
- Laravel 11.x - 13.x

#### Feature overview

[](#feature-overview)

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

#### Supported Rules

[](#supported-rules)

**Almost all [Validation Rules](https://laravel.com/docs/5.4/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](https://laravel.com/docs/5.4/validation#rule-active-url)
- [Unique](https://laravel.com/docs/5.4/validation#rule-unique)
- [Exists](https://laravel.com/docs/5.4/validation#rule-exists)
- [Custom Validation Rules](https://laravel.com/docs/5.4/validation#custom-validation-rules)
- Validations provided by other packages

##### Unsupported Rules

[](#unsupported-rules)

Some Laravel validations are not implemented yet.

- [Present](https://laravel.com/docs/5.4/validation#rule-present)
- [DateFormat](https://laravel.com/docs/5.4/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.4/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 should work out-of-box**

##### Validating Form Request

[](#validating-form-request)

Call [JsValidator Facade](https://github.com/proengsoft/laravel-jsvalidation/wiki/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)**

#### Changelog

[](#changelog)

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

#### Contributing

[](#contributing)

Please see [CONTRIBUTING](https://github.com/proengsoft/laravel-jsvalidation/wiki/Contributing) for details.

#### Credits

[](#credits)

[Laravel Javascript Validation contributors list](../../contributors)

#### License

[](#license)

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

###  Health Score

77

—

ExcellentBetter than 100% of packages

Maintenance89

Actively maintained with recent releases

Popularity66

Solid adoption and visibility

Community48

Growing community involvement

Maturity91

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~58 days

Recently: every ~101 days

Total

70

Last Release

62d ago

Major Versions

v1.5.0 → v2.0.02017-07-10

2.5.0 → 3.0.02020-03-15

3.0.1 → 4.0.02020-04-23

PHP version history (7 changes)v1.0.0-rc1PHP &gt;=5.4.0

v2.0.0PHP &gt;=5.6.4

3.0.0PHP &gt;=7.1.3

v4.6.0PHP ^7.2 || ^8.0

v4.8.0PHP ^8.0

v4.10.0PHP ^8.1

v4.10.3PHP ^8.2

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/809d7ed0e9aa913afb9147041cb2e94ff4571d0227569e2ba315d1550e3eefa7?d=identicon)[bytestream](/maintainers/bytestream)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (209 commits)")[![torrentalle](https://avatars.githubusercontent.com/u/1963459?v=4)](https://github.com/torrentalle "torrentalle (128 commits)")[![bytestream](https://avatars.githubusercontent.com/u/1788397?v=4)](https://github.com/bytestream "bytestream (101 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (42 commits)")[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (15 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 (8 commits)")[![CWDN](https://avatars.githubusercontent.com/u/1649191?v=4)](https://github.com/CWDN "CWDN (7 commits)")[![drjoju](https://avatars.githubusercontent.com/u/461705?v=4)](https://github.com/drjoju "drjoju (7 commits)")[![samuelfa](https://avatars.githubusercontent.com/u/4594902?v=4)](https://github.com/samuelfa "samuelfa (5 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (4 commits)")[![sangnguyenplus](https://avatars.githubusercontent.com/u/6972407?v=4)](https://github.com/sangnguyenplus "sangnguyenplus (3 commits)")[![xuandung38](https://avatars.githubusercontent.com/u/8670315?v=4)](https://github.com/xuandung38 "xuandung38 (3 commits)")[![adamtester](https://avatars.githubusercontent.com/u/2249484?v=4)](https://github.com/adamtester "adamtester (2 commits)")[![Braunson](https://avatars.githubusercontent.com/u/577273?v=4)](https://github.com/Braunson "Braunson (2 commits)")[![Marcuzz](https://avatars.githubusercontent.com/u/3168421?v=4)](https://github.com/Marcuzz "Marcuzz (2 commits)")[![yepzy](https://avatars.githubusercontent.com/u/11534500?v=4)](https://github.com/yepzy "yepzy (1 commits)")[![bidord](https://avatars.githubusercontent.com/u/1234495?v=4)](https://github.com/bidord "bidord (1 commits)")[![changhuapeng](https://avatars.githubusercontent.com/u/9205678?v=4)](https://github.com/changhuapeng "changhuapeng (1 commits)")[![dansleboby](https://avatars.githubusercontent.com/u/4716382?v=4)](https://github.com/dansleboby "dansleboby (1 commits)")

---

Tags

laravelvalidatorvalidationjavascriptjqueryformproengsoft

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M107](/packages/propaganistas-laravel-phone)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[laravel/pulse

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

1.7k12.1M99](/packages/laravel-pulse)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)

PHPackages © 2026

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