mongo-php-driver
mongo-php-driver copied to clipboard
Cannot install with laravel 11
$ composer require mongodb/mongodb resulting :
In PackageDiscoveryTrait.php line 312:
Package mongodb/mongodb has requirements incompatible with your PHP version, PHP extensions and Composer version:
- mongodb/mongodb 1.19.1 requires ext-mongodb ^1.18.0 but it is not present.
this is happen with fresh install laravel 11 with php 8.2
Did you install MongoDB extension? Please follow the steps outlined in the docs - https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/quick-start/download-and-install/#install-the-mongodb-php-extension
Closing this, as there's been no recent discussion.
In any event, a bug report is not appropriate for this kind of issue. Please utilize the community forums (also linked from the "New Issue" GitHub form) or consult our existing installation docs for the extension.