{"id":20719728,"url":"https://github.com/slince/cakephp-pjax","last_synced_at":"2025-04-23T14:20:38.931Z","repository":{"id":57053317,"uuid":"115611191","full_name":"slince/cakephp-pjax","owner":"slince","description":":pancakes: Pjax plugin for CakePHP","archived":false,"fork":false,"pushed_at":"2017-12-29T05:45:52.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T09:53:20.594Z","etag":null,"topics":["cakephp","cakephp-pjax","cakephp-plugin","pjax","pjax-middleware"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slince.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-28T10:11:10.000Z","updated_at":"2021-05-23T07:09:45.000Z","dependencies_parsed_at":"2022-08-24T05:20:59.854Z","dependency_job_id":null,"html_url":"https://github.com/slince/cakephp-pjax","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slince%2Fcakephp-pjax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slince%2Fcakephp-pjax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slince%2Fcakephp-pjax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slince%2Fcakephp-pjax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slince","download_url":"https://codeload.github.com/slince/cakephp-pjax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447982,"owners_count":21432166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cakephp","cakephp-pjax","cakephp-plugin","pjax","pjax-middleware"],"created_at":"2024-11-17T03:18:09.986Z","updated_at":"2025-04-23T14:20:38.907Z","avatar_url":"https://github.com/slince.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pjax plugin for CakePHP\n\n[![Build Status](https://img.shields.io/travis/slince/cakephp-pjax/master.svg?style=flat-square)](https://travis-ci.org/slince/cakephp-pjax)\n[![Coverage Status](https://img.shields.io/codecov/c/github/slince/cakephp-pjax.svg?style=flat-square)](https://codecov.io/github/slince/cakephp-pjax)\n[![Latest Stable Version](https://img.shields.io/packagist/v/slince/cakephp-pjax.svg?style=flat-square\u0026label=stable)](https://packagist.org/packages/slince/cakephp-pjax)\n[![Scrutinizer](https://img.shields.io/scrutinizer/g/slince/cakephp-pjax.svg?style=flat-square)](https://scrutinizer-ci.com/g/slince/cakephp-pjax/?branch=master)\n\nThis plugin for version 3 the CakePHP Framework. [Pjax](https://github.com/defunkt/jquery-pjax) is a jQuery plugin that leverages ajax to \nspeed up the loading time of your pages. It works by only fetching specific html fragments\nfrom the server, and client-side updating only happens on certain parts of the page.\n\nThe package provides a middleware that can return the response that the jQuery plugin expects.\n\n## Installation\n\nYou can install the package via composer:\n``` bash\n$ composer require slince/cakephp-pjax\n```\n\n## Load Plugin\n\nAdd the following to your config/bootstrap.php to load the plugin.\n\n```php\nPlugin::load('Slince/Pjax', [\n    'bootstrap' =\u003e true,\n]);\n```\n\n## Usage\n\nThe provided middleware provides [the behaviour that the pjax plugin expects of the server](https://github.com/defunkt/jquery-pjax#server-side):\n\nChecks pjax request:\n\n```php\nclass PagesController\n{\n    public function index()\n    {\n        debug($this-\u003erequest-\u003eis('pjax')); //true\n    }\n}\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslince%2Fcakephp-pjax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslince%2Fcakephp-pjax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslince%2Fcakephp-pjax/lists"}