Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dereuromark/cakephp-ajax
AJAX for CakePHP: A plugin to ease handling AJAX requests.
https://github.com/dereuromark/cakephp-ajax
ajax cakephp cakephp-plugin php
Last synced: 7 days ago
JSON representation
AJAX for CakePHP: A plugin to ease handling AJAX requests.
- Host: GitHub
- URL: https://github.com/dereuromark/cakephp-ajax
- Owner: dereuromark
- License: mit
- Created: 2015-01-08T22:33:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T02:27:23.000Z (about 2 months ago)
- Last Synced: 2024-10-11T06:32:52.171Z (29 days ago)
- Topics: ajax, cakephp, cakephp-plugin, php
- Language: PHP
- Homepage:
- Size: 3.97 MB
- Stars: 56
- Watchers: 8
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/Contributing.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - Ajax plugin - A plugin to ease handling AJAX requests. (Miscellaneous)
README
# CakePHP Ajax Plugin
[![CI](https://github.com/dereuromark/cakephp-ajax/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-ajax/actions/workflows/ci.yml?query=branch%3Amaster)
[![Coverage Status](https://codecov.io/gh/dereuromark/cakephp-ajax/branch/master/graph/badge.svg)](https://codecov.io/gh/dereuromark/cakephp-ajax)
[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-ajax/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-ajax)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![License](https://poser.pugx.org/dereuromark/cakephp-ajax/license.svg)](LICENSE)
[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-ajax/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-ajax)
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-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](https://github.com/dereuromark/cakephp-ajax/wiki#cakephp-version-map).
## What is this plugin for?
Basically DRY (Don't repeat yourself) and easy AJAX handling.### Demo
See the [Sandbox app](https://sandbox.dereuromark.de/sandbox/ajax-examples) 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](https://www.dereuromark.de/2014/01/09/ajax-and-cakephp/) for details on the history of this view class and plugin code.
## Installation & Docs
- [Documentation](docs/README.md)
### Possible TODOs
* Maybe add helpers and additional goodies around auto-complete, edit-in-place, ...