File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ This packages integrates [PHP Console server library](https://github.com/barbush
14
14
15
15
Require this package in Laravel project ` composer.json ` and run ` composer update `
16
16
17
- "php-console/laravel-service-provider": "5.* "
17
+ "php-console/laravel-service-provider": "~5.0 "
18
18
19
- After updating composer, add the service provider line to the begining of ` providers ` array in ` /config/app.php `
19
+ After updating composer, add the service provider line at the begining of ` providers ` array in ` /config/app.php `
20
20
21
21
'providers' => array(
22
- ' PhpConsole\Laravel\ServiceProvider' ,
22
+ PhpConsole\Laravel\ServiceProvider::class ,
23
23
24
24
## Edit config
25
25
@@ -51,6 +51,7 @@ By default it's located in `/vendor/php-console/laravel-service-provider/src/con
51
51
52
52
If you want to edit config you need to run
53
53
54
- php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
54
+ $ php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
55
+ $ php artisan vendor:publish
55
56
56
57
So config-file will be moved to ` /config/phpconsole.php ` and can be edited as you want and changes will not be lost after ` composer update ` .
You can’t perform that action at this time.
0 commit comments