Skip to content

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

License

Notifications You must be signed in to change notification settings

dereuromark/cakephp-ajax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

66b1196 · Apr 21, 2025
Nov 16, 2024
Jun 28, 2020
Apr 19, 2025
Sep 16, 2024
Nov 13, 2023
Mar 10, 2020
Mar 11, 2024
Jul 11, 2023
Feb 15, 2016
Dec 11, 2023
Apr 21, 2025
Jan 5, 2023
Apr 21, 2025
Apr 17, 2025

Repository files navigation

CakePHP Ajax Plugin

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