cakephp-ajax

AJAX for CakePHP: A plugin to ease handling AJAX requests.

MIT License

Downloads
151.3K
Stars
56
Committers
9

CakePHP Ajax Plugin

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, ...
Package Rankings
Top 5.97% on Packagist.org
Badges
Extracted from project README
CI Coverage Status Minimum PHP Version Coding Standards
Related Projects