Mongodb and Laravel integration

  1.  Install mongodb unchecked compass. Download
  2. Install compass. Download
  3. Put php_mongodb.dll in xampp/php/ext and update php.ini. Download
  4. Composer install jessengers/mongodb update accordingly also update database info in .env. Link
  5. In migration remove id and correctly use unique
Tutorial: https://www.youtube.com/watch?v=QAMl_fZIGE0&list=PLdTx40waQWgHIh3Kegr14vvSF-QsRd40J&index=2

Labels: ,

© copyright-2020 Rejaul