0

I am using the first-time laravel, and want to use the laravel Auth for login and registration, MongoDB as backend. Using this command enables the laravel Auth

    php artisan make:auth

will it work ? can anyone help me, how to do it..

Amalendu Kar
  • 458
  • 1
  • 6
  • 17

1 Answers1

0
php artisan make:auth 

will just generate views since Laravel already comes with an Authentication feature so you don't have to build on scratch.

Now it is possible to have MongoDB as backend but it requires you to install a wrapper in order for Laravel to connect to your database.

I recommend using this one.

It requires PHP MongoDB extension to be installed in order for the package to fully work.

Jio M.
  • 114
  • 1
  • 7