simonstamm/laravel-pjax

PJAX for Laravel 4 with redirection-support
8,286 22
Install
composer require simonstamm/laravel-pjax
Latest Version:v0.5
PHP:>=5.3.0
Laravel:4
License:MIT
Last Updated:Dec 31, 2013
Links: GitHub  ·  Packagist
Maintainer: simonstamm

PJAX for Laravel 4

Enable the use of PJAX in Laravel 4 with redirections.

Installation

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

How to use

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.

Contribution

I'm open to any idea of features to add to it.

Related Packages

spatie/laravel-pjax

A pjax middleware for Laravel 5

409,405 513
torann/laravel-pjax-middleware

Enable the use of PJAX in Laravel.

89 2
jacobbennett/pjax

PJAX for Laravel 5

44,854 114
frenzy/turbolinks

Frenzy Turbolinks makes following links in your web application faster with Lara...

23,449 160
rcrowe/turbo

Think turbolinks but for your PHP application. Powered by pjax.

3,410 87

Version History

Version Released PHP Laravel License
v0.5 >=5.3.0 ~4 MIT
v0.4 >=5.3.0 4.0.x MIT
v0.3 >=5.3.0 4.0.x MIT
v0.2 >=5.3.0 4.0.x MIT
v0.1 >=5.3.0 4.0.x MIT