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

Problem with composer #6

Closed
ljanecek opened this issue Mar 10, 2021 · 2 comments
Closed

Problem with composer #6

ljanecek opened this issue Mar 10, 2021 · 2 comments

Comments

@ljanecek
Copy link

When I try to install this awesome vendor via composer: $ composer require codewizz/laravel-reddit-api

The result is:


Using version ^0.2.0 for codewizz/laravel-reddit-api
./composer.json has been updated
Running composer update codewizz/laravel-reddit-api
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires codewizz/laravel-reddit-api ^0.2.0 -> satisfiable by codewizz/laravel-reddit-api[0.2.0].
    - codewizz/laravel-reddit-api 0.2.0 requires illuminate/support ^6.0|^7.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

And I don' know how to fix it. Thank you for your help.

@ghaskell
Copy link

ghaskell commented Mar 13, 2021

The library has been updated for Larvavel 8 in composer but @codewizz has not yet tagged that change. By default, composer will download the latest tagged released (0.20) which doesn't include the change. Dev-master does.

If you require with composer require codewizz/laravel-reddit-api dev-master you should be in business until the maintainer tags 0.2.1

@ljanecek
Copy link
Author

The library has been updated for Larvavel 8 in composer but @codewizz has not yet tagged that change. By default, composer will download the latest tagged released (0.20) which doesn't include the change. Dev-master does.

If you require with composer require codewizz/laravel-reddit-api dev-master you should be in business until the maintainer tags 0.2.1

Thank you, it works.

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