diff --git a/README-zh_CN.md b/README-zh_CN.md index 50e1ebe..9eebbd6 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -44,22 +44,12 @@ $ composer require guanguans/laravel-soar --dev -v ## 配置 -### 注册服务 - -#### laravel +### 发布文件(可选的) ```shell $ php artisan vendor:publish --provider="Guanguans\\LaravelSoar\\SoarServiceProvider" ``` -#### lumen - -将以下代码段添加到 `bootstrap/app.php` 文件中的 `Register Service Providers` 部分下: - -```php -$app->register(\Guanguans\LaravelSoar\SoarServiceProvider::class); -``` - ### :warning: 在 unix 操作系统非 cli 环境中运行时,可能会抛出 Fatal error: ...Exit Code: 2(Misuse of shell builtins) ```shell diff --git a/README.md b/README.md index 1802374..8719a73 100644 --- a/README.md +++ b/README.md @@ -45,22 +45,12 @@ $ composer require guanguans/laravel-soar --dev -v ## Configuration -### Register service - -#### laravel +### Publish files(optional) ```shell $ php artisan vendor:publish --provider="Guanguans\\LaravelSoar\\SoarServiceProvider" ``` -#### lumen - -Add the following snippet to the `bootstrap/app.php` file under the `Register Service Providers` section as follows: - -```php -$app->register(\Guanguans\LaravelSoar\SoarServiceProvider::class); -``` - ### :warning: When running in a unix OS non-cli environment, may throw Fatal error: ...Exit Code: 2(Misuse of shell builtins) ```shell