Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Jan 31, 2018
1 parent d0e7d45 commit dde71a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ You can install the package via composer:
composer require pbmedia/laravel-browser-kit-macro --dev
```

If you're using Laravel 5.4, add the Service Provider to your `config/app.php` file:

```php
Pbmedia\LaravelBrowserKitMacro\BrowserKitMacroServiceProvider::class,

## Usage

This package adds a `browserKit` method to the `TestResponse` class. It accepts a Closure which receives the [Browser Kit TestCase](https://github.com/laravel/browser-kit-testing/blob/master/src/TestCase.php) as its first argument.
Expand Down

0 comments on commit dde71a2

Please sign in to comment.