PHPackages                             slince/cakephp-pjax - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. slince/cakephp-pjax

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

slince/cakephp-pjax
===================

A pjax middleware for CakePHP 3

1.0.0(8y ago)41.2k[1 issues](https://github.com/slince/cakephp-pjax/issues)MITPHPPHP &gt;=5.6.0

Since Dec 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/slince/cakephp-pjax)[ Packagist](https://packagist.org/packages/slince/cakephp-pjax)[ Docs](https://github.com/slince/cakephp-pjax)[ RSS](/packages/slince-cakephp-pjax/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Pjax plugin for CakePHP
=======================

[](#pjax-plugin-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/7e46bdfb0e35a0a01442ed0c429a8b9c851d9e86bbae5765679c59059b39335a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736c696e63652f63616b657068702d706a61782f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/slince/cakephp-pjax)[![Coverage Status](https://camo.githubusercontent.com/90f69ef3b3a7d3a068fca7396f1e17e50af7e44a49eed3cafb50b13ef01e4812/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736c696e63652f63616b657068702d706a61782e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/slince/cakephp-pjax)[![Latest Stable Version](https://camo.githubusercontent.com/1dc4fa693b552a9ddad1cad556815e924ba7ef161d13d387c16c170289ea8b5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736c696e63652f63616b657068702d706a61782e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65)](https://packagist.org/packages/slince/cakephp-pjax)[![Scrutinizer](https://camo.githubusercontent.com/a36f805e358e82b583333785951b40dd14b4bb3c67784a2432497025759c1030/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736c696e63652f63616b657068702d706a61782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/slince/cakephp-pjax/?branch=master)

This plugin for version 3 the CakePHP Framework. [Pjax](https://github.com/defunkt/jquery-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.

The package provides a middleware that can return the response that the jQuery plugin expects.

Installation
------------

[](#installation)

You can install the package via composer:

```
$ composer require slince/cakephp-pjax
```

Load Plugin
-----------

[](#load-plugin)

Add the following to your config/bootstrap.php to load the plugin.

```
Plugin::load('Slince/Pjax', [
    'bootstrap' => true,
]);
```

Usage
-----

[](#usage)

The provided middleware provides [the behaviour that the pjax plugin expects of the server](https://github.com/defunkt/jquery-pjax#server-side):

Checks pjax request:

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3105d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3785826?v=4)[Tao](/maintainers/slince)[@slince](https://github.com/slince)

---

Tags

cakephpcakephp-pjaxcakephp-pluginpjaxpjax-middlewarecakephppjaxcakephp-pjax

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/slince-cakephp-pjax/health.svg)

```
[![Health](https://phpackages.com/badges/slince-cakephp-pjax/health.svg)](https://phpackages.com/packages/slince-cakephp-pjax)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513381.2k11](/packages/spatie-laravel-pjax)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.0M321](/packages/drupal-core-dev)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3096.0k5](/packages/dereuromark-cakephp-dto)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
