Julio Montoya 321ce65f18 Updating vendors 11 éve
..
Tests 321ce65f18 Updating vendors 11 éve
CHANGELOG.md 224a0e666e Updating vendors 11 éve
Client.php 321ce65f18 Updating vendors 11 éve
Cookie.php d7041815fc Updating vendors 11 éve
CookieJar.php 321ce65f18 Updating vendors 11 éve
History.php f319aaa06f Updating vendors 11 éve
LICENSE f319aaa06f Updating vendors 11 éve
README.md f319aaa06f Updating vendors 11 éve
Request.php f319aaa06f Updating vendors 11 éve
Response.php f319aaa06f Updating vendors 11 éve
composer.json 224a0e666e Updating vendors 11 éve
phpunit.xml.dist f319aaa06f Updating vendors 11 éve

README.md

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provide 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.phar install --dev
$ phpunit