Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file_get_content or cURL? #114

Closed
kamov opened this issue Jun 29, 2014 · 7 comments
Closed

file_get_content or cURL? #114

kamov opened this issue Jun 29, 2014 · 7 comments

Comments

@kamov
Copy link

kamov commented Jun 29, 2014

Hi

I can't find into code which method you use for connect with provider, cURL or file_get_content?

Thanks

@kevindierkx
Copy link
Contributor

It uses the Guzzle package which in turn uses curl ;)

@kamov
Copy link
Author

kamov commented Jun 29, 2014

Hi

thanks for quick reply.

Guzzle its new for me, cool... its this: https://github.com/guzzle/guzzle/ ?

I can't see it on the oauth2-client package...

@kevindierkx
Copy link
Contributor

It's in the composer.json, that should be the right repo. Here are the docs if you need them http://guzzle.readthedocs.org/en/latest/

@kamov
Copy link
Author

kamov commented Jun 29, 2014

Hi

the documentation of oauth2-client said to create a composer.json file like:

{
"require": {
"league/oauth2-client": "~0.3"
}
}

Its not mention to include guzzle...

So I need to change composer.json ?

like this:

{
"require": {
"league/oauth2-client": "~0.3",
"guzzlehttp/guzzle": "~4.0"
}
}

Thanks!!

@kevindierkx
Copy link
Contributor

That's because composer is recursive it will automatically load al the dependencies of the required packages.

@philsturgeon
Copy link
Member

Yep, Guzzle is required which uses the curl extension.

@kamov
Copy link
Author

kamov commented Jun 30, 2014

That's because composer is recursive it will automatically load al the dependencies of the required packages.

I understand now, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants