K
K
kupurim2018-07-15 20:42:23
Laravel
kupurim, 2018-07-15 20:42:23

How to connect laravel with forum?

Hello. There is a site on Laravel 5, the xenforo 2 forum was uploaded to the public / fourm folder. It is
necessary to link the database of the forum and the site so that users can register on the forum / site and go both there and there authorized.
Now there are about 2000 users in the site's database, transferring it to the forum will not be difficult.
But the question is how best to tie them together?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Barmunk, 2018-07-15
@Barmunk

leave one authorization / registration point (I would choose Lara).
- When registering in laravel, create a user on xenforo and make a connection via pivot
- When authorizing, programmatically authorize on the forum as well

J
JhaoDa, 2018-07-16
@JhaoDa

As usual, the answer is in the documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question