Support the ongoing development of Laravel.io →
Gelurban

Gelurban

Joined 23 Feb 2014

Statistics

Threads 3
Replies 4
Solutions 0
Articles 0

Type hinting parent::__construct() arguments in controllers

Greetings, I've got a BaseController with the following code: class BaseController extends Contr...

Likes Replies
Solved

How to get a list of posts and check if the user already "Liked" them?

I'm having fun with Laravel framework trying to build a little "blog" site that works the...

Likes Replies

Filtering collection data with $collection->filter()

I'm trying to filter the following collection using the collection filter() method: $collection = Wo...

Likes Replies
7 years ago

How to get a list of posts and check if the user already "Liked" them?

Hello again! So, if I understand, the posts would never be cached? I mean, If I have many logged in...

0 Likes
7 years ago

How to get a list of posts and check if the user already "Liked" them?

Hello, thanks for your answer Amegatron! I have one question: Right now, I have the paginated posts...

0 Likes
7 years ago

How to get a list of posts and check if the user already "Liked" them?

I think this SQL Fiddle is a way of achieving what I want: http://www.sqlfiddle.com/#!2/e5bab/5

0 Likes

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.