Laravel Auth user
-
I have two Laravel applications .
example :
one application is helpdesk application
second application is document management systemIf user login with helpdesk application , can I share the user object with document management system.
-
It's simple in laravel
- you have to create a new database called common
- move user tables to that database
- create new db connection to the that database
- use this database inside laravel App/User
- do the same things in both applications
Note : you must change session driver to database in .env file
-
@root Thanks bro , let me try