Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

red_devil's avatar

Laravel 5.8 Development Help

Hello All,

I am a beginner in web development. Now, I am working on a project for a company and I need some guidance from you experts. I enjoyed learning PHP and Laravel 5.8 over the past few months, but lacking to implement it in my Project: To develop a Personality Assesment Test Website on many constraints using PHP & MySQL (given stack and I am solely responsible for everything). I have a Homestead environment setup and Git as well, I need a pathway on how should I design a DB schema, map it via Eloquent relationships and design frontend. I understand that maybe I am sounding too noobish, but I need your valuable pieces of advice or guidance with any sort of Information possible. Thank you for your time and patience.

0 likes
1 reply
jlrdw's avatar

It would help getting some of Jeffrey's videos watched. They are in English I know, but perhaps you know someone who can translate as you view.

Don't use copy and paste code, you never learn anything that way. So many here give neat cut and paste answers, but the person does not learn anything. I usually like giving an example so the person has to work it out themselves. As example I gave this a while back:

$quy = Powner::query()->leftJoin('dc_pets', 'dc_powners.ownerid', '=', 'dc_pets.ownerid')
                ->select('dc_powners.ownerid', 'dc_powners.oname')
                ->selectRaw('count(dc_pets.petid) as countOfPets')
                ->groupby('dc_powners.ownerid')
                ->orderby('dc_powners.oname')
                ->get();

Results basically give:

ownerid, oname, countOfPets

Like:

5|Bob|3
4|Greg|9
2|Rob|1

Which wasn't their data, but similar to what and how they needed their data.

Work examples in the Docs when you get stuck. Look for past answers on Laracast.com, many past answers is close to what's needed.

To look up past answers, go yo google and enter:

site:laracasts.com some search term

But much of what you need is already in the docs and the laravel api.

Please or to participate in this conversation.