ddeboer / GuzzleBundle

A Symfony2 bundle for integrating Guzzle, a PHP framework for building RESTful web service clients
63 stars 29 forks source link

Bundle won't be installed with current Symfony version (2.2). #19

Open naroga opened 11 years ago

naroga commented 11 years ago

While trying to install the bundle using the composer, I got the following error:

 ddeboer/guzzle-bundle v1.0.0 requires symfony/symfony >=2.0,<2.2

I'd like to request the bundle's requirements to be updated to allow the current Symfony version (2.2).

Thank you.

jeremylivingston commented 11 years ago

+1 for this to be fixed.

Is there a stability concern with using this bundle with Symfony 2.2?

arodiss commented 11 years ago

+1

ITOmauricioherran commented 11 years ago

+1 but sf 2.3.0

naroga commented 11 years ago

Just an update: I managed to use Guzzle without the bundle by simply adding the namespace on the autoloader.

ITOmauricioherran commented 11 years ago

@naroga please can you tell me how could do the same?

naroga commented 11 years ago

@mauricioherran, I just added the following to autoload.php:

//Loads the Guzzle PHP Library $loader->add('Guzzle', DIR.'/../vendor/guzzle/src');

So, in my services, calling use Guzzle\Http\Client; will load the correct class.