dereuromark / cakephp-ajax
A CakePHP plugin that makes working with AJAX a piece of cake.
Package info
github.com/dereuromark/cakephp-ajax
Type:cakephp-plugin
pkg:composer/dereuromark/cakephp-ajax
3.2.0
2026-05-20 22:47 UTC
Requires
- php: >=8.2
- cakephp/cakephp: ^5.0.10
Requires (Dev)
- ext-mbstring: *
- dereuromark/cakephp-tools: ^3.0.0
- fig-r/psr2r-sniffer: dev-master
- phpunit/phpunit: ^11.5 || ^12.1 || ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 3.0.0-RC
- 2.1.0
- 2.0.0
- 2.0.0-rc
- 2.0.0-beta
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-cake6
- dev-maintenance/cake6-runtime
- dev-docs/brand-button-contrast
- dev-docs/website-branding
- dev-maintenance/cake5-docs-cleanup
- dev-cake4
- dev-cake3
- dev-cake2
This package is auto-updated.
Last update: 2026-10-11 22:36:41 UTC
README
A CakePHP plugin that makes working with AJAX a "piece of cake".
This branch is for CakePHP 5. For details see version map.
What is this plugin for?
Basically DRY (Don't repeat yourself) and easy AJAX handling.
Demo
See the Sandbox app for live demos.
Key features
- Auto-handling via View class mapping and making controller actions available both AJAX and non-AJAX by design.
- Flash message and redirect (prevention) support.
- Opt-in detection for modern JSON-oriented clients that do not send
X-Requested-With.
See my article for details on the history of this view class and plugin code.
Installation & Docs
Possible TODOs
- Maybe add helpers and additional goodies around auto-complete, edit-in-place, ...