Skip to content

Commit 160e166

Browse files
author
project-hub
committed
Update README.md
1 parent e96842a commit 160e166

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ This packages integrates [PHP Console server library](https://github.com/barbush
1414

1515
Require this package in Laravel project `composer.json` and run `composer update`
1616

17-
"php-console/laravel-service-provider": "5.*"
17+
"php-console/laravel-service-provider": "~5.0"
1818

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`
2020

2121
'providers' => array(
22-
'PhpConsole\Laravel\ServiceProvider',
22+
PhpConsole\Laravel\ServiceProvider::class,
2323

2424
## Edit config
2525

@@ -51,6 +51,7 @@ By default it's located in `/vendor/php-console/laravel-service-provider/src/con
5151

5252
If you want to edit config you need to run
5353

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
5556

5657
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`.

0 commit comments

Comments
 (0)