everus/goutte-service-provider

Silex ServiceProvider for using goutte

0.11.1 2016-06-20 10:38 UTC

This package is not auto-updated.

Last update: 2024-04-17 17:20:39 UTC


README

Service provider for Silex for using Goutte.

Installation

To use it add following line to your composer.json:

"require": {
    ...
    "everus/goutte-service-provider": "0.11.x"
    ...
}

Usage

Include following line of code somewhere in your initial Silex file (index.php or whatever):

$app->register(new Everus\Silex\GoutteServiceProvider());

Now you have access to Goutte through $app['browser'].