Name Last Update
..
Tests Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
Client.php Loading commit data...
Cookie.php Loading commit data...
CookieJar.php Loading commit data...
History.php Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
Request.php Loading commit data...
Response.php Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...

README.md

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provides an abstract client and does not provide any "default" backend for the HTTP layer.

Resources

For a simple implementation of a browser based on an HTTP layer, have a look at Goutte.

For an implementation based on HttpKernelInterface, have a look at the Client provided by the HttpKernel component.

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/BrowserKit/
$ composer install
$ phpunit