关键词:response

1
Speed up a Laravel application by caching the entire response
2
A Laravel Fractal package for building API responses, giving you the power of Fractal and the elegancy of Laravel.
4
Eloquent Driver for NilPortugues Serializer outputting valid API responses in JSON, JSON API and HAL+JSON API formats.
6
[![Latest Stable Version](https://poser.pugx.org/flc/laravel-middleware-cache-response/v/stable)](https://packagist.org/packages/flc/laravel-middleware-cache-response) [![Total Downloads](https://poser.pugx.org/flc/laravel-middleware-cache-response/downloads)](https://packagist.org/packages/flc/laravel-middleware-cache-response) [![License](https://poser.pugx.org/flc/laravel-middleware-cache-response/license)](https://packagist.org/packages/flc/laravel-middleware-cache-response) ## 功能 - 支持缓存渲染后数据 - 支持指定缓存过期时间(默认10分钟) - header头输出缓存命中状态、缓存Key及过期时间 ## 安装 ```sh composer require flc/laravel-middleware-cache-response ``` ## 配置 > `\app\Http\Kernel.php`文件中`$routeMiddleware`增加: ```php <?php 'cache.response' => \Flc\Laravel\Http\Middleware\CacheResponse::class, // cache.response 命名随意,你开心就好 ``` ## 使用 ```php <?php Route::get('/', function () { return view('welcome'); })->middleware('cache.response'); Route::get('/', function () { return view('welcome'); })->middleware('cache.response:20'); // 指定缓存时间20分钟 ``` ## 附录 **缓存规则** - 当前URL全路径md5 **Headers** ``` X-Cache:Missed X-Cache-Expires:2018-03-29 15:08:29 CST X-Cache-Key:6c9b19774e2c304a42d200f314d8c80b ``` ## License MIT
7
Add the method xml integrating the laravel's response, converting eloquent return to XML.
9
PHP CORS (Cross-origin resource sharing) middleware.
10
Using Transformers in Laravel Responses
11
HTTP request logger middleware for Laravel
12
Laravel API Manager Package - beatify and unify your responses with the least effort possible.
13
Librería para retornar respuestas unificadas a las peticiones de API
16
This package provides a streamlines and easy way to create api based service on laravel
17
A RESTful API package for the Laravel
18
Essentials Methods for Laravel
20
A Guzzle middleware that can throttle requests according to (multiple) defined rules. It is also possible to define a caching strategy, e.g. get response from cache when rate limit is exceeded or always get cached value to spare your rate limits.
21
Automatic transformation with league/fractal. Translates your Laravel 5 collections into json api spec compatible responses with a single generic transformer. One size fits them all.
22
Laravel 4 icin layout kontrolu ve json cevaplari
24
Laravel5 JSONAPI and Dingo together to build APIs fast
25
To define a JSend response macro for Laravel 5 applications
26
Laravel 5 HAL+JSON API Transformer Package
29
Provides support for enforcing Content Security Policy with headers in Laravel 4 responses.