Tried all of the cmnds
What had you tried?
Did you install the driver and restarted the PHP?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi Folks,
I'm trying to deploy the Laravel MongoDB application in Heroku/DigitalOcean but both giving the same error.
Problem 1
- composer.json/composer.lock requires ext-mongodb 1.14.0 -> found ext-mongodb[1.8.0, ..., 1.13.0] but it does not match the constraint.
Problem 2
- Root composer.json requires mongodb/mongodb 1.13.0 -> satisfiable by mongodb/mongodb[1.13.0].
- mongodb/mongodb 1.13.0 requires ext-mongodb ^1.14.0 -> found ext-mongodb[1.8.0, ..., 1.13.0] but it does not match the constraint.
But When I run in my local it is working without any errors. Tried all of the cmnds no luck. any help / thoughts would be great. Thanks
Please or to participate in this conversation.