λ composer require nicklasw/instagram-api
Using version ^0.10.6 for nicklasw/instagram-api
./composer.json has been updated
Running composer update nicklasw/instagram-api
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
tebru/gson-php[v0.7.0, ..., v0.7.3] require phpdocumentor/reflection-docblock ^3.2.3|^4.0.1 -> found phpdocumentor/reflection-docblock[3.2.3, 3.3.0, 3.3.2, 4.0.1, ..., 4.3.4] but it conflicts with your root composer.json require (^5.4).
tebru/gson-php v0.7.4 requires symfony/cache ^3.3|^4.0|^5.0 -> found symfony/cache[v3.3.0, ..., v3.4.47, v4.0.0, ..., v4.4.48, v5.0.0, ..., v5.4.40] but it conflicts with your root composer.json require (7.1.*).
tebru/gson-php v0.7.5 requires symfony/cache ^3.3|^4.0|^5.0|^6.0 -> found symfony/cache[v3.3.0, ..., v3.4.47, v4.0.0, ..., v4.4.48, v5.0.0, ..., v5.4.40, v6.0.0, ..., v6.4.8] but it conflicts with your root composer.json require (7.1.*).
Root composer.json requires nicklasw/instagram-api ^0.10.6 -> satisfiable by nicklasw/instagram-api[0.10.6].
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 nicklasw/instagram-api:*" to figure out if any version is installable, or "composer require nicklasw/instagram-api:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
when i run the command i have this return
λ composer require nicklasw/instagram-api Using version ^0.10.6 for nicklasw/instagram-api ./composer.json has been updated Running composer update nicklasw/instagram-api Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
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 nicklasw/instagram-api:*" to figure out if any version is installable, or "composer require nicklasw/instagram-api:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.