承接 torann/laravel-pjax-middleware 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

torann/laravel-pjax-middleware

最新稳定版本:0.0.1

Composer 安装命令:

composer require torann/laravel-pjax-middleware

包简介

Enable the use of PJAX in Laravel.

README 文档

README

Enable the use of PJAX in Laravel.

Installation

Install using composer:

$ composer require torann/laravel-pjax-middleware

You'll then need to run composer install to download it and have the autoloader updated.

Setup

Once installed you need to append the middleware class within the Http kernel. Open up app/Http/Kernel.php and find the $middleware variable.

protected $middleware = [

    Torann\Pjax\PjaxMiddleware::class,

]

How to use

This middleware will check, before outputting 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 flight-with-pjax and jquery.pjax.js.

统计信息

  • 总下载量: 89
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2015-08-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固