Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qbhy/exception
可渲染的php异常
https://github.com/qbhy/exception
Last synced: about 1 month ago
JSON representation
可渲染的php异常
- Host: GitHub
- URL: https://github.com/qbhy/exception
- Owner: qbhy
- Created: 2019-01-21T12:58:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T03:17:40.000Z (almost 6 years ago)
- Last Synced: 2024-04-02T13:19:19.679Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# exception
可渲染的php异常## 安装
```bash
$ composer require 96qbhy/exception
```## 使用
```php
if($exception instanceof Qbhy\Exception\Contracts\Renderable){
return $exception->render($request);
}
```[96qbhy/exception](https://github.com/qbhy/exception)
[email protected]