-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error require illuminate/cache Laravel 12 #3295
Comments
While waiting for Laravel v12 support (#3283), as Laravel v12 is advertised to be backwards compatible with v11, as a workaround you could fake it by telling composer the required (v11) packages are there:
But, best to wait for official v12 support. |
This works for me. Now that the Laravel 12 support issue is resolved, I hope a composer update will fix it. Thanks. |
Laravel 12 is now supported in version 5.2.0. |
It is definitely not possible to use it with Laravel 12. Not even trying to trick it. Here's what happens: But I solved it the inelegant way |
You need to update to The error you reported is if you try to use the version 5.1.1 with Laravel 12, which is not possible with version constraints in composer.json. |
Description:
I'm having trouble installing the MongoDB package with composer.
Steps to reproduce
Expected behaviour
install package
Actual behaviour
aborts installation
Logs:
Problem 1 - mongodb/laravel-mongodb[5.1.0, ..., 5.1.1] require illuminate/cache ^10.36|^11 -> found illuminate/cache[v10.36.0, ..., v10.48.28, v11.0.0, ..., v11.44.0] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires mongodb/laravel-mongodb ^5.1 -> satisfiable by mongodb/laravel-mongodb[5.1.0, 5.1.1].The text was updated successfully, but these errors were encountered: