dereuromark / cakephp-ajax
A CakePHP plugin that makes working with AJAX a piece of cake.
Installs: 232 392
Dependents: 2
Suggesters: 0
Security: 0
Stars: 56
Watchers: 8
Forks: 24
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=8.1
- cakephp/cakephp: ^5.0.0
Requires (Dev)
- ext-mbstring: *
- dereuromark/cakephp-tools: ^3.0.0
- fig-r/psr2r-sniffer: dev-next
- phpunit/phpunit: ^10.2.1
README
A CakePHP plugin that makes working with AJAX a "piece of cake".
This branch is for CakePHP 5.0+. 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.
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, ...