Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
project-hub committed Jun 22, 2015
1 parent e96842a commit 160e166
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ This packages integrates [PHP Console server library](https://github.com/barbush

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

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

After updating composer, add the service provider line to the begining of `providers` array in `/config/app.php`
After updating composer, add the service provider line at the begining of `providers` array in `/config/app.php`

'providers' => array(
'PhpConsole\Laravel\ServiceProvider',
PhpConsole\Laravel\ServiceProvider::class,

## Edit config

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

If you want to edit config you need to run

php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
$ php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
$ php artisan vendor:publish

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 comments on commit 160e166

Please sign in to comment.