Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Sep 29, 2021
1 parent 0feb8de commit cf4dcd7
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 23 deletions.
43 changes: 24 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,45 @@

All notable changes to `guanguans/laravel-exception-notify` will be documented in this file.

## 1.0.0 - 2021-07-04
## 1.1.0 - 2021-09-29

* Initial release.
* Adapt lumen.
* Update github config files.

## 1.0.1 - 2021-07-04
## 1.0.7 - 2021-07-22

* Optimize Notifier.
* Optimize SendExceptionNotification job.
* Fix Dispatch not exists method `afterResponse` error.
* Rename `exception_trace` -> `exception_stack_trace`.
* Update php-cs-fixer config file.

## 1.0.2 - 2021-07-04
## 1.0.6 - 2021-07-08

* Add `on``env``dontReport` config options.
* Optimize `ExceptionNotifyServiceProvider`.
* Fix config `exception_stack_trace` option.

## 1.0.3 - 2021-07-04
## 1.0.5 - 2021-07-08

* Optimize Notifier.
* Rename property `on` -> `enabled`.
* Add InvalidCallException.

## 1.0.4 - 2021-07-06

* Optimize create client instance.
* Fix request method information name.

## 1.0.5 - 2021-07-08
## 1.0.3 - 2021-07-04

* Rename property `on` -> `enabled`.
* Add InvalidCallException.
* Optimize Notifier.

## 1.0.6 - 2021-07-08
## 1.0.2 - 2021-07-04

* Optimize `ExceptionNotifyServiceProvider`.
* Fix config `exception_stack_trace` option.
* Add `on``env``dontReport` config options.

## 1.0.7 - 2021-07-22
## 1.0.1 - 2021-07-04

* Fix Dispatch not exists method `afterResponse` error.
* Rename `exception_trace` -> `exception_stack_trace`.
* Update php-cs-fixer config file.
* Optimize Notifier.
* Optimize SendExceptionNotification job.

## 1.0.0 - 2021-07-04

* Initial release.
14 changes: 12 additions & 2 deletions README_en.md → README-EN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# laravel-exception-notify

[简体中文](README.md) | [ENGLISH](README_en.md)
[简体中文](README.md) | [ENGLISH](README-EN.md)

> Multiple channels of laravel exception notification(DingTalk、FeiShu、ServerChan、WeWork、XiZhi). - 多种通道的 laravel 异常通知(钉钉群机器人、飞书群机器人、Server 酱、企业微信群机器人、息知)。
Expand Down Expand Up @@ -34,12 +34,22 @@ $ composer require guanguans/laravel-exception-notify -vvv

## Configuration

### Publish service
### Register service

#### laravel

```bash
$ php artisan vendor:publish --provider="Guanguans\\LaravelExceptionNotify\\ExceptionNotifyServiceProvider"
```

#### lumen

Add the following snippet to the `bootstrap/app.php` file under the `Register Service Providers` section as follows:

```php
$app->register(\Guanguans\LaravelExceptionNotify\ExceptionNotifyServiceProvider::class);
```

### Apply for channel `token` and other information

* [Dingtalk](https://developers.dingtalk.com/document/app/custom-robot-access)
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![usage](docs/usage.png)

[简体中文](README.md) | [ENGLISH](README_en.md)
[简体中文](README.md) | [ENGLISH](README-EN.md)

> Multiple channels of laravel exception notification(DingTalk、FeiShu、ServerChan、WeWork、XiZhi). - 多种通道的 laravel 异常通知(钉钉群机器人、飞书群机器人、Server 酱、企业微信群机器人、息知)。
Expand Down Expand Up @@ -36,12 +36,22 @@ $ composer require guanguans/laravel-exception-notify -vvv

## 配置

### 发布服务
### 注册服务

#### laravel

```bash
$ php artisan vendor:publish --provider="Guanguans\\LaravelExceptionNotify\\ExceptionNotifyServiceProvider"
```

#### lumen

将以下代码段添加到 `bootstrap/app.php` 文件中的 `Register Service Providers` 部分下:

```php
$app->register(\Guanguans\LaravelExceptionNotify\ExceptionNotifyServiceProvider::class);
```

### 申请通道 token 等信息

* [钉钉群机器人](https://developers.dingtalk.com/document/app/custom-robot-access)
Expand Down

0 comments on commit cf4dcd7

Please sign in to comment.