You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composer install fails when installing inside a fresh laravel 10 project
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- dragon-code/support[v6.0.1, ..., v6.11.0] require dragon-code/contracts ^2.18 -> found dragon-code/contracts[2.x-dev] but it does not match your minimum-stability.
- dragon-code/laravel-actions dev-main requires dragon-code/support ^6.6 -> satisfiable by dragon-code/support[v6.6.0, ..., v6.11.0].
- Root composer.json requires dragon-code/laravel-actions dev-main -> satisfiable by dragon-code/laravel-actions[dev-main].
Steps to reproduce
Install Laravel 10
composer require dragon-code/laravel-actions
The text was updated successfully, but these errors were encountered:
Due to the fact that your application is allowed to install dev versions, the composer tries to download unstable versions of packages.
The fact that the application uses the dev branch can be seen from the log - it writes the dev-main version.
So if your application has minimum-stability equal to dev, then when you run composer require dragon-code/laravel-actions , the composer will install the unstable "version" dev-main instead of the stable 4.2.
My steps to reproduce:
laravel new test
cd test
composer require dragon-code/laravel-actions
The value of minimum-stability defaults to stable
If you need to have a stability level other than stable, you must explicitly specify the required version when installing dependencies. For example:
Environment
Issue description
Composer install fails when installing inside a fresh laravel 10 project
Steps to reproduce
The text was updated successfully, but these errors were encountered: