PHPackages                             pieceofcake2/xform - 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. [Templating &amp; Views](/categories/templating)
4. /
5. pieceofcake2/xform

ActiveCakephp-plugin[Templating &amp; Views](/categories/templating)

pieceofcake2/xform
==================

Xform (Plugin) extends cakephp Form helper.

v2.0.2(7mo ago)0290↓50%MITPHPPHP &gt;=8.0CI passing

Since Oct 5Pushed 7mo agoCompare

[ Source](https://github.com/pieceofcake2/xform)[ Packagist](https://packagist.org/packages/pieceofcake2/xform)[ RSS](/packages/pieceofcake2-xform/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

Xform (CakePHP Plugin)
======================

[](#xform-cakephp-plugin)

[![GitHub License](https://camo.githubusercontent.com/29c816b687f27abba9230a6edeacbf27dc5f0a3e17056b5a241f86046d2e9fdf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70696563656f6663616b65322f78666f726d3f6c6162656c3d4c6963656e7365)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/713797c31997452cad2b08aaaaab511bb0b6ec32fcb7dd149d8e56ff643c4eed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70696563656f6663616b65322f78666f726d3f6c6162656c3d5061636b6167697374)](https://packagist.org/packages/pieceofcake2/xform)[![PHP](https://camo.githubusercontent.com/9d2bc68bd0da7a4cdbf5c523c0adf5a9e62a0b53c6eca2b59ccaddb7ba8fa89e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f70696563656f6663616b65322f78666f726d2f7068703f6c6f676f3d706870266c6f676f436f6c6f723d253233464646464646266c6162656c3d504850266c6162656c436f6c6f723d25323337373742423426636f6c6f723d253233464646464646)](https://camo.githubusercontent.com/9d2bc68bd0da7a4cdbf5c523c0adf5a9e62a0b53c6eca2b59ccaddb7ba8fa89e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f70696563656f6663616b65322f78666f726d2f7068703f6c6f676f3d706870266c6f676f436f6c6f723d253233464646464646266c6162656c3d504850266c6162656c436f6c6f723d25323337373742423426636f6c6f723d253233464646464646)[![CakePHP](https://camo.githubusercontent.com/6599f2adb224561962afc44ee4e1eb30cac5ee34be6f09581a01df1327afeb74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f70696563656f6663616b65322f78666f726d2f70696563656f6663616b65322f63616b657068703f6c6f676f3d63616b65706870266c6f676f436f6c6f723d253233464646464646266c6162656c3d43616b65504850266c6162656c436f6c6f723d25323344333343343326636f6c6f723d253233464646464646)](https://camo.githubusercontent.com/6599f2adb224561962afc44ee4e1eb30cac5ee34be6f09581a01df1327afeb74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f70696563656f6663616b65322f78666f726d2f70696563656f6663616b65322f63616b657068703f6c6f676f3d63616b65706870266c6f676f436f6c6f723d253233464646464646266c6162656c3d43616b65504850266c6162656c436f6c6f723d25323344333343343326636f6c6f723d253233464646464646)[![CI](https://camo.githubusercontent.com/51b9cc9c11e18f5a088086f429813179513e1eb4643eeef1f65e32c759b4b388/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70696563656f6663616b65322f78666f726d2f43492e796d6c3f6c6162656c3d4349)](https://github.com/pieceofcake2/xform/actions/workflows/CI.yml)[![Codecov](https://camo.githubusercontent.com/67ee75894680ebf91b9307d3b11a271d48b10c45dec5fba8b119ca6711dd0159/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f67682f70696563656f6663616b65322f78666f726d3f6c6162656c3d436f766572616765)](https://codecov.io/gh/pieceofcake2/xform)

**This is forked for CakePHP2.**

Extends cakephp Form helper.

Installation
------------

[](#installation)

```
composer require pieceofcake2/xform

```

Config
------

[](#config)

- load plugin in bootstrap `CakePlugin::load('Xform');`
- Include the helper in your `controller.php`: `var $helpers = array('Form', 'Xform.Xform');`
- call method of XformHelper in your view. `echo $this->Xform->input('title');`

Usage
-----

[](#usage)

On confirmation screen, this helper just show value of post data instead of making form tags.

On form input screen, this helper behaves same as form helper.

How does this helper know on confirmation screen? When the confirmation transition, do following 1 or 2.

1. in controller `$this->params['xformHelperConfirmFlag'] = true;`
2. in controller or view file `$this->XformHelper->confirmScreenFlag = true;`

If you want to mask a password field on confirmation screen, use password method instead of input method.

If you want to change separator of datetime, set separator value on the changeDatetimeSeparator property.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance64

Regular maintenance activity

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.7% 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 ~2 days

Total

3

Last Release

221d ago

PHP version history (2 changes)v2.0.1PHP ^8.0

2.x-devPHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/578548?v=4)[TSURU](/maintainers/ttsuru)[@ttsuru](https://github.com/ttsuru)

---

Top Contributors

[![ichikaway](https://avatars.githubusercontent.com/u/91244?v=4)](https://github.com/ichikaway "ichikaway (29 commits)")[![ttsuru](https://avatars.githubusercontent.com/u/578548?v=4)](https://github.com/ttsuru "ttsuru (13 commits)")[![e2oohara](https://avatars.githubusercontent.com/u/222738064?v=4)](https://github.com/e2oohara "e2oohara (8 commits)")[![oppara](https://avatars.githubusercontent.com/u/10661?v=4)](https://github.com/oppara "oppara (2 commits)")[![tsmsogn](https://avatars.githubusercontent.com/u/595966?v=4)](https://github.com/tsmsogn "tsmsogn (2 commits)")

---

Tags

cakephpformcakephp2

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pieceofcake2-xform/health.svg)

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

###  Alternatives

[ichikaway/xform

XFormHelper(Plugin) extends cakephp Form helper.

1814.9k](/packages/ichikaway-xform)

PHPackages © 2026

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