Laravel 10 Dependency Issue
ammarsdc opened this issue · 1 comments
ammarsdc commented
Hi. I tried to use this within my current project using Laravel 10. Running this command:
composer require ovac/idoc
Then this error appeared:
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update ovac/idoc
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- ovac/idoc[v1.0.0, ..., v1.1.1] require illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* -> found illuminate/routing[v5.5.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- ovac/idoc v1.2.0 requires illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 -> found illuminate/routing[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- ovac/idoc v1.3.0 requires illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 -> found illuminate/routing[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- ovac/idoc v1.4.0 requires illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 -> found illuminate/routing[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- ovac/idoc 1.5.0 requires illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 || ^9.0 -> found illuminate/routing[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.4] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires ovac/idoc * -> satisfiable by ovac/idoc[v1.0.0, ..., 1.5.0].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require ovac/idoc:*" to figure out if any version is installable, or "composer require ovac/idoc:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
May I know how to solve this?
Thanks!
ovac commented
Laravel 10 Support has been released. Thanks to @pedram-davoodi