PHPackages                             huebs/parsleyjs - 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. huebs/parsleyjs

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

huebs/parsleyjs
===============

Validate your forms, frontend, without writing a single line of javascript!

1268JavaScript

Since Dec 6Pushed 11y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Parsley
=======

[](#parsley)

[![Build Status](https://camo.githubusercontent.com/4274f90d29f9c9f2cda48e919a3642d50a9745447cc092d6ca3d41015754ea9a/68747470733a2f2f7472617669732d63692e6f72672f6775696c6c61756d65706f746965722f506172736c65792e6a732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/guillaumepotier/Parsley.js)

JavaScript form validation, without actually writing a single line of JavaScript!

Version
-------

[](#version)

2.0.6

Doc
---

[](#doc)

See `index.html` and `doc/`

Requirements
------------

[](#requirements)

jQuery &gt;= 1.8

Contributing
------------

[](#contributing)

See `CONTRIBUTING.md` file

Integrations
------------

[](#integrations)

Create integration with other framework as a separate Github repo and send a pull request for including here. Some integrations are

- [CakePHP](https://github.com/Codaxis/parsley-helper)
- [Django](https://github.com/agiliq/django-parsley)
- [Rails](https://github.com/mekishizufu/parsley-rails)
- [OSSCDN by MaxCDN](http://osscdn.com/#/parsleyjs)

Install dev environment
-----------------------

[](#install-dev-environment)

```
npm install
npm install -g grunt-cli
npm install -g bower
grunt configure

```

Build `dist/`
-------------

[](#build-dist)

```
grunt build
grunt build-all

```

Generate annotated documentation
--------------------------------

[](#generate-annotated-documentation)

First time:

```
npm install -g docco

```

then

```
grunt build-annotated-source

```

Run tests
---------

[](#run-tests)

In the browser: open `test/index.html`

In the terminal: `npm test`

License
-------

[](#license)

Released under the MIT License. See the bundled `LICENSE` file for details.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.9% 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.

### Community

Maintainers

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

---

Top Contributors

[![guillaumepotier](https://avatars.githubusercontent.com/u/496234?v=4)](https://github.com/guillaumepotier "guillaumepotier (534 commits)")[![vsn4ik](https://avatars.githubusercontent.com/u/3757319?v=4)](https://github.com/vsn4ik "vsn4ik (13 commits)")[![catearcher](https://avatars.githubusercontent.com/u/29156?v=4)](https://github.com/catearcher "catearcher (11 commits)")[![hwsoderlund](https://avatars.githubusercontent.com/u/3725915?v=4)](https://github.com/hwsoderlund "hwsoderlund (8 commits)")[![marcandre](https://avatars.githubusercontent.com/u/33770?v=4)](https://github.com/marcandre "marcandre (8 commits)")[![alrusdi](https://avatars.githubusercontent.com/u/394311?v=4)](https://github.com/alrusdi "alrusdi (7 commits)")[![danbentley](https://avatars.githubusercontent.com/u/535833?v=4)](https://github.com/danbentley "danbentley (7 commits)")[![huebs](https://avatars.githubusercontent.com/u/1166532?v=4)](https://github.com/huebs "huebs (6 commits)")[![cfurrow](https://avatars.githubusercontent.com/u/149965?v=4)](https://github.com/cfurrow "cfurrow (5 commits)")[![maniacyak](https://avatars.githubusercontent.com/u/510496?v=4)](https://github.com/maniacyak "maniacyak (4 commits)")[![prikhi](https://avatars.githubusercontent.com/u/1304102?v=4)](https://github.com/prikhi "prikhi (4 commits)")[![joostvanderborg](https://avatars.githubusercontent.com/u/992731?v=4)](https://github.com/joostvanderborg "joostvanderborg (4 commits)")[![sekz](https://avatars.githubusercontent.com/u/66214012?v=4)](https://github.com/sekz "sekz (3 commits)")[![gmajoulet](https://avatars.githubusercontent.com/u/1492044?v=4)](https://github.com/gmajoulet "gmajoulet (3 commits)")[![FND](https://avatars.githubusercontent.com/u/3515?v=4)](https://github.com/FND "FND (3 commits)")[![dflock](https://avatars.githubusercontent.com/u/47756?v=4)](https://github.com/dflock "dflock (3 commits)")[![chiefjester](https://avatars.githubusercontent.com/u/532797?v=4)](https://github.com/chiefjester "chiefjester (3 commits)")[![cey0116](https://avatars.githubusercontent.com/u/5289270?v=4)](https://github.com/cey0116 "cey0116 (2 commits)")[![blackwatertepes](https://avatars.githubusercontent.com/u/355634?v=4)](https://github.com/blackwatertepes "blackwatertepes (2 commits)")[![Codaxis](https://avatars.githubusercontent.com/u/6729928?v=4)](https://github.com/Codaxis "Codaxis (2 commits)")

### Embed Badge

![Health badge](/badges/huebs-parsleyjs/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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