Quick little tip, remove the '/' at the start of your route declaration. '/return' -> 'return'.
Don't explicitly state the select table when within a with(). E.G: $data = Data::select(['id', 'name...
Oh, I see... I didn't noticed you wished for more than just 1 child. Sorry bud!
There is no point doing that, you can just do this... Route::get('test/{one}/{two}', function($one,...
The Laravel portal for problem solving, knowledge sharing and community building.