atymic / twitter

Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x
https://atymic.dev
MIT License
922 stars 290 forks source link

Unable to install the package with Laravel 9.x #406

Closed joshbingtech closed 1 year ago

joshbingtech commented 1 year ago

Tried to install it under Laravel 9.19 and got the following error:

`Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.`

After running composer require atymic/twitter -W, got the following error again.

`Problem 1

Not sure how to resolve it. Can anyone help me?

meyer59 commented 1 year ago

I have the same issue

Using version ^3.1 for atymic/twitter
./composer.json has been updated
Running composer update atymic/twitter
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - atymic/twitter 3.1.15 requires php-di/php-di ^6.2 -> satisfiable by php-di/php-di[6.2.0, ..., 6.4.x-dev].
    - atymic/twitter[3.1.0, ..., 3.1.14] require illuminate/support 6 - 8 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were n
ot loaded, likely because it conflicts with another require.
    - php-di/php-di[6.2.0, ..., 6.4.x-dev] require psr/container ^1.0 -> found psr/container[1.0.0, ..., 1.x-dev] but the package is fixed to 2.0.2 (lock file version) by a partial upd
ate and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires atymic/twitter ^3.1 -> satisfiable by atymic/twitter[3.1.0, ..., 3.1.15].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require atymic/twitter:*" to figure out if any version is installable, or "composer req
uire atymic/twitter:^2.1" if you know which you need.