File tree 2 files changed +2
-22
lines changed 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -44,22 +44,12 @@ $ composer require guanguans/laravel-soar --dev -v
44
44
45
45
## 配置
46
46
47
- ### 注册服务
48
-
49
- #### laravel
47
+ ### 发布文件(可选的)
50
48
51
49
``` shell
52
50
$ php artisan vendor:publish --provider=" Guanguans\\ LaravelSoar\\ SoarServiceProvider"
53
51
```
54
52
55
- #### lumen
56
-
57
- 将以下代码段添加到 ` bootstrap/app.php ` 文件中的 ` Register Service Providers ` 部分下:
58
-
59
- ``` php
60
- $app->register(\Guanguans\LaravelSoar\SoarServiceProvider::class);
61
- ```
62
-
63
53
### :warning : 在 unix 操作系统非 cli 环境中运行时,可能会抛出 Fatal error: ...Exit Code: 2(Misuse of shell builtins)
64
54
65
55
``` shell
Original file line number Diff line number Diff line change @@ -45,22 +45,12 @@ $ composer require guanguans/laravel-soar --dev -v
45
45
46
46
## Configuration
47
47
48
- ### Register service
49
-
50
- #### laravel
48
+ ### Publish files(optional)
51
49
52
50
``` shell
53
51
$ php artisan vendor:publish --provider=" Guanguans\\ LaravelSoar\\ SoarServiceProvider"
54
52
```
55
53
56
- #### lumen
57
-
58
- Add the following snippet to the ` bootstrap/app.php ` file under the ` Register Service Providers ` section as follows:
59
-
60
- ``` php
61
- $app->register(\Guanguans\LaravelSoar\SoarServiceProvider::class);
62
- ```
63
-
64
54
### :warning : When running in a unix OS non-cli environment, may throw Fatal error: ...Exit Code: 2(Misuse of shell builtins)
65
55
66
56
``` shell
You can’t perform that action at this time.
0 commit comments