Download the PHP package superwen/laravel-response without Composer
On this page you can find all versions of the php package superwen/laravel-response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download superwen/laravel-response
More information about superwen/laravel-response
Files in superwen/laravel-response
Download superwen/laravel-response
More information about superwen/laravel-response
Files in superwen/laravel-response
Vendor superwen
Package laravel-response
Short Description laravel-response
License MIT
Homepage https://github.com/superwen/laravel-response.git
Package laravel-response
Short Description laravel-response
License MIT
Homepage https://github.com/superwen/laravel-response.git
Please rate this library. Is it a good library?
Informations about the package laravel-response
superwen/laravel-response
基于sunnanbei/laravel-response更新的response类
这个包的目的是?
在项目开发时,由于获取数据方式不同(ORM、DB、自定义...),会出现返回格式不统一的情况。
如果使用laravel自带的API资源(Resource)可以完美解决这个问题。
但,并不是每一个资源都需要去创建Resource的。
所以这个package的目的就是为了确保常见场景下,返回格式统一,保证唯一性。
如何使用
All versions of laravel-response with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2.5 || ^8.0
illuminate/support Version 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0
illuminate/contracts Version 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0
illuminate/support Version 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0
illuminate/contracts Version 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0
The package superwen/laravel-response contains the following files
Loading the files please wait ....