Don't install in Laravel8x
hc0503 opened this issue · 6 comments
hc0503 commented
Hi, I need your help for this package.
I tried to install with Laravel8x, but that says below error.
"Your requirements could not be resolved to an installable set of packages."
If you could resolve this issue, I would be grateful.
mohammadgh1370 commented
hi, me to, dont install on laravel,lumen 8
hc0503 commented
What is generate package which is provided for Laravel 8x?
hoangphidev commented
i also have same problems.
Xantios commented
for completion sake: here is the entire error
composer require mpociot/laravel-apidoc-generator
Using version ^4.8 for mpociot/laravel-apidoc-generator
./composer.json has been updated
Running composer update mpociot/laravel-apidoc-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mpociot/laravel-apidoc-generator v4.x-dev requires ramsey/uuid ^3.8 -> found ramsey/uuid[3.8.0, ..., 3.x-dev] but the package is fixed to 4.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.
- mpociot/laravel-apidoc-generator[4.8.0, ..., 4.8.2] require illuminate/console ^5.7|^6.0|^7.0 -> found illuminate/console[v5.7.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires mpociot/laravel-apidoc-generator ^4.8 -> satisfiable by mpociot/laravel-apidoc-generator[4.8.0, 4.8.1, 4.8.2, v4.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
almatari1 commented
add these lines to composer.json and run composer install
"mpociot/documentarian": "dev-master as 0.4.0",
"mpociot/laravel-apidoc-generator": "dev-master"
hc0503 commented
Thank you @almatari1
That works fine.
👍