Skip to content

simonstamm/laravel-pjax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

PJAX for Laravel 4 with redirection-support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%