Convert a JOIN to Laravel

I am in a small problem, I managed to make a query in MySQL to obtain data from three different tables, with these data I want to print them on my WEB page, I have researched and it turns out that I must use JSON and Ajax to be able to store my data and I can print them on my page with an @foreach, but even if I try not to convert my query to my Laravel driver so that it works, someone could help me explaining a bit about how the query is generated.