Package Data | |
---|---|
Maintainer Username: | simonstamm |
Maintainer Contact: | simon@stammtec.de (Simon Stamm) |
Package Create Date: | 2013-09-08 |
Package Last Update: | 2013-12-31 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:15:34 |
Package Statistics | |
---|---|
Total Downloads: | 8,285 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 4 |
Total Forks: | 6 |
Total Open Issues: | 1 |
Enable the use of PJAX in Laravel 4 with redirections.
Add simonstamm/laravel-pjax
to require
section in your composer.json
composer require simonstamm/laravel-pjax
Add 'SimonStamm\LaravelPjax\LaravelPjaxServiceProvider',
to providers
in your app/config/app.php
This service provider will check, before output the http response, for the X-PJAX
's
header in the request. If found, it will crawl the response to return the requested
element defined by X-PJAX-Container
's header.
Works great with jquery.pjax.js.
I'm open to any idea of features to add to it.