title: Adding mongodb driver to laravel project
body: <p>I'am trying to add mongodb driver for my laravel project, my php installed version is <code>7.4.26</code> i started by downloading the <code>php_mongodb.dll</code>  <a href="https://windows.php.net/downloads/pecl/releases/mongodb/1.8.0beta1/php_mongodb-1.8.0beta1-7.4-ts-vc15-x86.zip" rel="nofollow noreferrer"> 7.4 Thread Safe (TS) x86 </a> from <a href="https://pecl.php.net/package/mongodb/1.8.0beta1/windows" rel="nofollow noreferrer">here</a> then i added the <code>php_mongodb.dll</code> into <code>C:/xampp/php/ext</code> folder and edited the <code>php.ini</code> file by adding <code>extension=php_mongodb.dll</code> after that i tried to run <code>composer require jenssegers/mongodb</code>in order to add the <code>MongoDB</code> package for my <code>Laravel 8</code> application i keep getting this error</p>
  <pre><code>PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mongodb.dll'
   (tried: C:\xampp\php\ext\php_mongodb.dll (%1 is not a valid Win32 application.),
   C:\xampp\php\ext\php_php_mongodb.dll.dll (The specified module could not be found.)) in Unknown on line 0
  </code></pre>
  <p>And when i try to run <code>php -m</code> command to list the php modules i can't find the <code>mongodb module</code> that i just added</p>