Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jakubjv's avatar

Composer install in production problem

Hello everyone, I am trying to upload my webapp on sahred hosting, but while i'm trying in shell to run composer install on server it throws me this error, I've tryed update composer but it doesnt help..i dont know what to i shoudl try to do next now and nothing really helps, i'm unfortunately unexperienced in that :/ So if anyone have idea how to solve that, it would be great :/ than you for help! :)

Problem 1 - Installation request for laravel/framework v10.45.1 -> satisfiable by laravel/framework[v10.45.1]. - laravel/framework v10.45.1 requires composer-runtime-api ^2.2 -> no matching package found. Problem 2 - laravel/framework v10.45.1 requires composer-runtime-api ^2.2 -> no matching package found. - spatie/laravel-ignition 2.4.2 requires illuminate/support ^10.0|^11.0 -> satisfiable by laravel/framework[v10.45.1]. - Installation request for spatie/laravel-ignition 2.4.2 -> satisfiable by spatie/laravel-ignition[2.4.2]. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. - It's a private package and you forgot to add a custom repository to find it
0 likes
6 replies
Sergiu17's avatar

try to clear cache composer clear-cache

also what version do you get when your run composer command?

jakubjv's avatar

@Sergiu17 clear-cache doesnt help, composer on hosting is -> Composer version 1.8.5 and in my project its Composer version 2.7.1 2024-02-09 , can this be probably that problem ?

Snapey's avatar

you need to speak to your hosting company to get composer updated

1 like
jakubjv's avatar

@Snapey they replied this-> Hello,

if you need Composer from the 2.x branch, it is available in the limited shell as a binary called composer2. but unfortunately i dont understand what does this mean..

Please or to participate in this conversation.