Skip to content
AJAX for CakePHP: A plugin to ease handling AJAX requests.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config docs Jan 14, 2015
docs Make AjaxView extend AppView Oct 31, 2019
src Make AjaxView extend AppView Oct 31, 2019
tests Make AjaxView extend AppView Oct 31, 2019
.editorconfig Adjust headers for JSON response. Jun 1, 2019
.gitattributes CakePHP 3.6 compatibility. Apr 19, 2018
.gitignore gitignore Sep 2, 2019
.travis.yml php74 Oct 31, 2019
LICENSE LICENSE Feb 15, 2016
README.md Update README.md Nov 1, 2019
composer.json Adjust headers for JSON response. Jun 1, 2019
phpunit.xml.dist

README.md

CakePHP Ajax Plugin

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

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

This branch is for CakePHP 3.7+. 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, ...
You can’t perform that action at this time.