Skip to content

Commit

Permalink
Merge pull request laravel#2 from marcusmoore/patch-1
Browse files Browse the repository at this point in the history
syntax highlighting?
  • Loading branch information
taylorotwell authored Jan 13, 2017
2 parents 7f0c317 + c00f038 commit 23ca2ce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ This is an alpha release of Dusk. Documentation is in progress.

Once Dusk is installed, you need to register the `Laravel\Dusk\DuskServiceProvider` service provider. You should do this within the `register` method of your `AppServiceProvider` in order to limit the environments in which Dusk is available, since it exposes the ability to login as other users:

if ($this->app->environment('local', 'testing')) {
$this->app->register(DuskServiceProvider::class);
}
```php
if ($this->app->environment('local', 'testing')) {
$this->app->register(DuskServiceProvider::class);
}
```

Next, run the `dusk:install` Artisan command:

Expand Down

0 comments on commit 23ca2ce

Please sign in to comment.