I am writing a unit test for a route passing a $id and have a ModelNotFoundException being thrown. I...
I think this should work using Eager Load Contraints. $users = User::with(array('friend_user' =>...
That looks good to me. Since a number of those selects are sub queries that seems to be the best sol...
Any examples of what is not working? Maybe this might work: DB::table('vouchers') ->select(DB...
Windows user here too. As mentioned composer will download into the current folder you are at with t...
Ideally you should set a rule in your .htaccess to redirect users to one or the other. For best prac...
The Laravel portal for problem solving, knowledge sharing and community building.