simonstamm/laravel-pjax
Composer 安装命令:
composer require simonstamm/laravel-pjax
包简介
PJAX for Laravel 4 with redirection-support
README 文档
README
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.
统计信息
- 总下载量: 8.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-09-08