Search by

josbeir / cakephp-form-compose

josbeir

Composable bound fields and native PHP form themes for CakePHP.

Package info

github.com/josbeir/cakephp-form-compose

Type:cakephp-plugin

pkg:composer/josbeir/cakephp-form-compose

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-10-18 18:59 UTC

README

FormCompose logo
FormCompose

Packagist CI Checked with Mago Coverage

A replacement for CakePHP's FormHelper, with PHP element templates.

FormCompose keeps form data binding separate from markup. Configure controls with fluent methods, then echo them to render PHP elements where you arrange the field's label, input, help, and errors. Reuse that layout across forms, or compose an individual field directly in a view.

Use application-owned themes for Tailwind, daisyUI, Bootstrap, or your own design system. CakePHP contexts, validation metadata, routing, and form protection remain part of the form-building workflow.

Read the documentation →

Experimental API. Requires PHP 8.5+ and CakePHP 6 development builds. See the installation guide for setup and compatibility notes.

Contributor commands and documentation-site setup are in the contributing guide.

MIT License