PHPackages                             codaxis/cakephp-parsley-helper - 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. codaxis/cakephp-parsley-helper

ActiveCakephp-plugin[Validation &amp; Sanitization](/categories/validation)

codaxis/cakephp-parsley-helper
==============================

CakePHP Form Helper for Parsley.js automatic validation integration

1.0(12y ago)91082[1 issues](https://github.com/Codaxis/cakephp-parsley-helper/issues)MITPHPPHP &gt;=5.3.0

Since Apr 30Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Codaxis/cakephp-parsley-helper)[ Packagist](https://packagist.org/packages/codaxis/cakephp-parsley-helper)[ Docs](https://github.com/Codaxis/parsley-helper)[ RSS](/packages/codaxis-cakephp-parsley-helper/feed)WikiDiscussions master Synced 6d ago

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

CakePHP Parsley.js Form Helper
==============================

[](#cakephp-parsleyjs-form-helper)

**DEPRECATION WARNING:** This plugin is not maintained anymore.

CakePHP Form Helper for Parsley.js automatic validation integration

This helper will automatically read validation rules from active form model and assign field attributes accordingly.

Compatible with Cake 2.4.7+

Feel free to make any code/docs contributions or post any issues.

Basic usage
-----------

[](#basic-usage)

1. Enable the helper plugin in your app/Config/bootstrap.php by doing `CakePlugin::load('ParsleyHelper');` - or just `CakePlugin::loadAll();`.
2. Load helper in your `app/Controller/AppController.php`. You can use the classname option if you want to keep your helper alias as "Form".

    ```
    // In AppController.php

    public $helpers = array('ParsleyHelper.ParsleyForm');
    // or
    public $helpers = array('Form' => array('className' => 'ParsleyHelper.ParsleyForm'));
    ```
3. Enable Parsley rules integration in any form by setting `parsley => true` or `data-parsley-validate => true` in Form-&gt;create() options array.

    ```
    echo $this->Form->create('MyModel', array('parsley' => true));
    ```
4. That's all! When you create an input field, parsley attributes will be set according to the defined validation rules.

Trait usage
-----------

[](#trait-usage)

If you are running PHP 5.4 or greater, and already using a custom or vendor form helper, you can make use of provided `ParsleyFormTrait` and retain both helper functionalities. You can do so by creating a custom helper in your `app/View/Helper` folder like this:

```
// In app/View/Helper

App::uses('ParsleyFormTrait', 'ParsleyHelper.View/Helper');

class MyFormHelper extends VendorFormHelper {
	use ParsleyFormTrait;
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 91.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 ~19 days

Total

2

Last Release

4381d ago

Major Versions

0.9 → 1.02014-05-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/26eabdf395e2b5842c83007fc1a4c7c374f16b9c8bb94a7cfdc1153c7f5d9e25?d=identicon)[codaxis](/maintainers/codaxis)

---

Top Contributors

[![ajfranzoia](https://avatars.githubusercontent.com/u/964115?v=4)](https://github.com/ajfranzoia "ajfranzoia (32 commits)")[![Codaxis](https://avatars.githubusercontent.com/u/6729928?v=4)](https://github.com/Codaxis "Codaxis (3 commits)")

---

Tags

validationcakephpformparsley

### Embed Badge

![Health badge](/badges/codaxis-cakephp-parsley-helper/health.svg)

```
[![Health](https://phpackages.com/badges/codaxis-cakephp-parsley-helper/health.svg)](https://phpackages.com/packages/codaxis-cakephp-parsley-helper)
```

###  Alternatives

[siriusphp/validation

Data validation library. Validate arrays, array objects, domain models etc using a simple API. Easily add your own validators on top of the already dozens built-in validation rules

181743.3k13](/packages/siriusphp-validation)[apy/jsfv-bundle

Symfony2 Javascript Form Validation Bundle with localisation support

92770.5k](/packages/apy-jsfv-bundle)[arondeparon/laravel-request-sanitizer

An easy to use request sanitizer that allows you to sanitize your form data before validating it.

112151.6k1](/packages/arondeparon-laravel-request-sanitizer)[ichikaway/cakeplus

Cake plus is cakephp plugin and provides some functions for CakePHP.

52101.1k1](/packages/ichikaway-cakeplus)[progsmile/request-validator

Simple PHP Request Validator

33113.3k1](/packages/progsmile-request-validator)[stroker/form

ZF2 module for extending forms with live clientside validation

4157.1k](/packages/stroker-form)

PHPackages © 2026

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