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

How to use with Laravel 9? #8

Closed
kbs1 opened this issue Jun 30, 2022 · 3 comments
Closed

How to use with Laravel 9? #8

kbs1 opened this issue Jun 30, 2022 · 3 comments

Comments

@kbs1
Copy link

kbs1 commented Jun 30, 2022

I've been trying to install this package under laravel 9, without success so far.

On a fresh Laravel 9 installation (composer create-project laravel/laravel test), when running composer require janu-software/facebook-php-sdk, I get:

Problem 1
    - Root composer.json requires janu-software/facebook-php-sdk ^0.1.9 -> satisfiable by janu-software/facebook-php-sdk[v0.1.9, 0.1.x-dev].
    - janu-software/facebook-php-sdk[v0.1.9, ..., 0.1.x-dev] require php-http/client-implementation ^1.0 -> could not be found in any version, but the following packages provide it:
 ...

Any time I attempt to install any client implementation, for example after composer require php-http/guzzle7-adapter, I get:

Problem 1
    - Root composer.json requires janu-software/facebook-php-sdk ^0.1.9 -> satisfiable by janu-software/facebook-php-sdk[v0.1.9, 0.1.x-dev].
    - janu-software/facebook-php-sdk[v0.1.9, ..., 0.1.x-dev] require symfony/deprecation-contracts ^2.5 -> found symfony/deprecation-contracts[v2.5.0, v2.5.1, v2.5.2, 2.5.x-dev] but the package is fixed to v3.1.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

How to use this package with Laravel 9?

@kbs1
Copy link
Author

kbs1 commented Jul 1, 2022

I see it is a known issue - 6ac5a8a - will keep an eye on later versions

@stanislav-janu
Copy link
Contributor

Try v0.1.10

@kbs1
Copy link
Author

kbs1 commented Jul 5, 2022

Hello, this works great after installing php-http/guzzle7-adapter, thank you! :)

@kbs1 kbs1 closed this as completed Jul 5, 2022
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

2 participants