Support the ongoing development of Laravel.io →
Kryptonit3

Kryptonit3

Joined 3 Mar 2014

Statistics

Threads 7
Replies 33
Solutions 4
Articles 0
posted 10 years ago

[L5] Count query running multiple times

I have a query that counts rows in a table that equal 5. For some reason it is running multiple time...

0 Likes
0 Replies
posted 10 years ago

[L5] 2 css files with same group/permissions - one inaccessible

Not sure what happened. Maybe a recent update? I push my code changes to my public environment from...

0 Likes
0 Replies

L4 - unable to get custom pagination to render

I have a view in (inbox/pagination.blade.php) Here is the contents @if($paginator->getLastPage()...

0 Likes
0 Replies
posted 10 years ago

polymorphic relationships and laravel - two messaging systems

I am building a specific kind of messaging system. A user can message a user. A user can message a c...

0 Likes
6 Replies
Solved

Bye Virtualbox/Vagrant/Homestead, Hi Laragon

( cross posted @laracasts too, just want you guys to check this out http://goo.gl/c0uc1S ) Just foun...

0 Likes
4 Replies
replied 10 years ago

Issues in counting user login on every login.

what table is the login count stored in? and what is it's column name?

0 Likes
replied 10 years ago

Eloquent filtering relation

$clients = Client::leftJoin('contacts', function($join) { $join->on('client.id', '=', 'contacts...

0 Likes
replied 10 years ago

Relationships to JSON?

You would first need to get the Collection without the toJSON() and perform your methods, then use t...

0 Likes
replied 10 years ago

eager loading on polymorphic relation

Have you tried looking into using $with on the model? protected $with = ['user']; Just throwing out...

0 Likes
replied 10 years ago

Relationships to JSON?

try User::all()->with('Articles')->toJSON();

0 Likes
Solved

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.