PHPackages                             madnh/laravel-parsley - 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. madnh/laravel-parsley

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

madnh/laravel-parsley
=====================

Converts FormRequest rules to Parsley rules

v0.4.7(8y ago)0552PHPPHP &gt;=5.4.0

Since Oct 7Pushed 8y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (3)Versions (12)Used By (0)

laravel-parsley
===============

[](#laravel-parsley)

Converts [FormRequest](http://laravel.com/docs/5.0/validation#form-request-validation) rules to [Parsley](http://parsleyjs.org/) rules.

Install
-------

[](#install)

If you have previously set up `LaravelCollective/Html` or `Illuminate/Html` you can remove its service provider from `app/config`

in `app/config` add the following under service providers:

`HappyDemon\LaravelParsley\LaravelParsleyServiceProvider`

If you haven't already, add these facades:

```
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',

```

Useage
------

[](#useage)

All that's needed is for you to supply the name of the `FormRequest` in the `request` key when opening a form.

```
Form::open(['request' => 'YourFormRequestClass'])
Form::model(['request' => 'YourFormRequestClass'])

```

Lastly you should include parsley's scripts on the page and activate parsley for your form.

easy enough don't you think?

### Validation rules

[](#validation-rules)

ImplementedNot implementedrequiredacceptedemailafter:(date)minbefore:(date)maxbefore:(date)betweendate\_formatintegerdifferenturlinalpha\_numnot\_inalpha\_daship\_addressalpharegexconfirmed

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Recently: every ~35 days

Total

11

Last Release

3283d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8559855?v=4)[Đỗ Danh Mạnh](/maintainers/madnh)[@madnh](https://github.com/madnh)

---

Top Contributors

[![happyDemon](https://avatars.githubusercontent.com/u/38573?v=4)](https://github.com/happyDemon "happyDemon (15 commits)")[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (10 commits)")[![madnh](https://avatars.githubusercontent.com/u/8559855?v=4)](https://github.com/madnh "madnh (10 commits)")

---

Tags

laravelhtmllaravel 5formparsleyparsleyjscollective

### Embed Badge

![Health badge](/badges/madnh-laravel-parsley/health.svg)

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

###  Alternatives

[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[schuppo/password-strength

This package provides a validator for ensuring strong passwords in Laravel 4 applications.

1432.7M1](/packages/schuppo-password-strength)[orchestra/html

HTML Component for Orchestra Platform

40112.6k2](/packages/orchestra-html)[bllim/laravalid

This package makes validation rules defined in laravel work client-side by converting to html/js plugins such as jquery validation. It also allows to use laravel validation messages so you can show same messages for both sides.

5915.2k](/packages/bllim-laravalid)

PHPackages © 2026

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