Support the ongoing development of Laravel.io →
Ricardo

Ricardo

Joined 19 Feb 2014

Statistics

Threads 8
Replies 8
Solutions 3
Articles 0
posted 11 years ago

hasManyThrough with two belongsToMany

Hi there, company id name users id name roles id name company_user company_id user_id role_u...

0 Likes
1 Replies
posted 11 years ago

Simple route does not work! What's wrong...

Hi there, This sound stupid but I can't get it to work. routes.php Route::get('/ac', function(){ r...

0 Likes
4 Replies
Solved

Session expires in a middle of an ajax request

Hi there, In the middle of a form the user left the page idle and when he/she returned to it the ses...

0 Likes
4 Replies
Solved
replied 8 years ago

Code review for improvement

There are some many accessors, it can be reduced as follows: public function __get($var) { if ((...

0 Likes
Solved
replied 10 years ago

Help me convert raw SQL to eloquent

It seems to me that you do not need the issues, only their count, when you use "with" you...

0 Likes
replied 11 years ago
0 Likes
replied 11 years ago

Laravel eloquent adding IS NULL to DB query

where needs two parameters, and you have only one. Use whereRaw instead.

0 Likes
Solved
replied 11 years ago

Workbench/Packages and Logging

Maybe... \Log::info("This is my message");

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.