1 Star 0 Fork 0

L_kai / laravel-response

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

laravel-response

Requirement

  1. PHP >= 7.4
  2. Laravel >=8.x
  3. Composer

Installing

composer require liukai/laravel-response

Usage

# 1.发布配置文件
php artisan vendor:publish --provider="Sevming\LaravelResponse\Providers\LaravelServiceProvider"

# 2.格式化异常响应
`app/Exceptions/Handler.php` 引入 `use Sevming\LaravelResponse\Support\Traits\ExceptionTrait;`

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT

<h1 align="left">laravel-response</h1> ## Requirement 1. PHP >= 7.4 2. Laravel >=8.x 3. [Composer](https://getcomposer.org/) ## Installing ```shell composer require liukai/laravel-response ``` ## Usage ```shell # 1.发布配置文件 php artisan vendor:publish --provider="Sevming\LaravelResponse\Providers\LaravelServiceProvider" # 2.格式化异常响应 `app/Exceptions/Handler.php` 引入 `use Sevming\LaravelResponse\Support\Traits\ExceptionTrait;` ``` ## Contributing You can contribute in one of three ways: 1. File bug reports using the [issue tracker](https://github.com/sevming/laravel-response/issues). 2. Answer questions or fix bugs on the [issue tracker](https://github.com/sevming/laravel-response/issues). 3. Contribute new features or update the wiki. _The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable._ ## License MIT

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/l-kai/laravel-response.git
git@gitee.com:l-kai/laravel-response.git
l-kai
laravel-response
laravel-response
master

搜索帮助