关键词: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
PHP CORS (Cross-origin resource sharing) middleware.
5
Add the method xml integrating the laravel's response, converting eloquent return to XML.
6
A RESTful API package for the Laravel
8
Eloquent Driver for NilPortugues Serializer outputting valid API responses in JSON, JSON API and HAL+JSON API formats.
9
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.
10
A Laravel wrapper for https://github.com/hamburgscleanest/guzzle-advanced-throttle.
11
[![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
12
HTTP request logger middleware for Laravel
13
Laravel5 JSONAPI and Dingo together to build APIs fast
14
A simple Laravel 5 class for handling json api responses.
15
HTTP request logger middleware for Laravel
17
Essentials Methods for Laravel
18
Package for standardizing the responses from the API of your Symfony based applications.
20
To define a JSend response macro for Laravel 5 applications
21
Laravel API Manager Package - beatify and unify your responses with the least effort possible.
22
Es un generador de excepciones, su fin es lanzar excepciones controladas al usuario con la posibilidad de generar log detallados al desarollador. El paquete es capaz de detectar una application/json de una peticion http por defecto. Este paquete entrega al usuario una vista en caso de ser http normal en donde se vera mensaje del error y un codigo de error, si la peticion es JSON el error sera devuelto en un resonse en formato JSON.
28
Using Transformers in Laravel Responses
29
A Laravel package for APIs, wrapping the Fractal library behind an elegant Laravel API.
30
Librería para retornar respuestas unificadas a las peticiones de API