2017 © Pedro Peláez
 

cakephp-plugin cakephp-pjax

A pjax middleware for CakePHP 3

image

slince/cakephp-pjax

A pjax middleware for CakePHP 3

  • Friday, December 29, 2017
  • by slince
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 64 % Grown

The README.md

Pjax plugin for CakePHP

Build Status Coverage Status Latest Stable Version Scrutinizer, (*1)

This plugin for version 3 the CakePHP Framework. Pjax is a jQuery plugin that leverages ajax to speed up the loading time of your pages. It works by only fetching specific html fragments from the server, and client-side updating only happens on certain parts of the page., (*2)

The package provides a middleware that can return the response that the jQuery plugin expects., (*3)

Installation

You can install the package via composer: ``` bash $ composer require slince/cakephp-pjax, (*4)


## Load Plugin Add the following to your config/bootstrap.php to load the plugin. ```php Plugin::load('Slince/Pjax', [ 'bootstrap' => true, ]);

Usage

The provided middleware provides the behaviour that the pjax plugin expects of the server:, (*5)

Checks pjax request:, (*6)

class PagesController
{
    public function index()
    {
        debug($this->request->is('pjax')); //true
    }
}

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

29/12 2017

dev-master

9999999-dev https://github.com/slince/cakephp-pjax

A pjax middleware for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp pjax cakephp-pjax

29/12 2017

1.0.0

1.0.0.0 https://github.com/slince/cakephp-pjax

A pjax middleware for CakePHP 3

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp pjax cakephp-pjax