AJAX for CakePHP: A plugin to ease handling AJAX requests.
Latest commit 985c009 Feb 16, 2017 @dereuromark Readme
Failed to load latest commit information.
config docs Jan 14, 2015
docs use allowMethod(), not onlyAllow(), in Docs example Jan 12, 2016
src Adjust tests for CakePHp 3.4 Feb 16, 2017
tests Fix CS. Feb 16, 2017
.editorconfig LICENSE Feb 15, 2016
.gitattributes Init Ajax. Jan 8, 2015
.gitignore Adjust tests for CakePHp 3.4 Feb 16, 2017
.travis.yml Adjust tests for CakePHp 3.4 Feb 16, 2017
README.md Readme Feb 16, 2017
composer.json Fix CS. Feb 16, 2017
phpunit.xml.dist Docs Jan 8, 2015


CakePHP Ajax Plugin

Build Status Coverage Status Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

A CakePHP 3.x plugin that makes working with AJAX a piece of cake..

Version notice

This branch only works for CakePHP 3.x - please use the 2.x branch for CakePHP 2.x.

What is this plugin for?

Basically DRY (Don't repeat yourself) and easy AJAX handling.


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, ...