I decided to test out polymorphic relationships and of course, I got stuck at the beginning. I want...
I have made language slugs for my site ex: domain.com/en/something, domain.com/fr/something etc. I h...
I have Categories that have many Product Groups and those Product Groups have many Products. I'm usi...
This may be a weird question, but is there a way to seed the db from a migration? The reason is that...
I know how to use Laravel's basic authentication and how to change the column name. Is there a way t...
Try $tags->lists('name');
Pretty simple actually... if (App::runningInConsole()) Thanks for the suggestion XoneFobic
I found a solution. Don't know if it's the best. I used simple DB::table() with joins to do the tric...
Thanks, but I already tried Model::join()->..... and it's the same result. Guess the query builde...
The Laravel portal for problem solving, knowledge sharing and community building.