Support the ongoing development of Laravel.io →

jarektkaczyk

Joined 25 Mar 2014

Statistics

Threads 5
Replies 244
Solutions 55
Articles 0

super Easy Global Scope definition

If you ever created complex global scope constraint, you must have faced a challenge with defining r...

Likes Replies

How to search eloquent models with relations

Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...

Likes Replies

Eloquence - a must have package for eloquent

Do you use Eloquent in your apps? It's simply fun to work with, right? I think the same, but after s...

Likes Replies

Easy db revisions with Sofa/Revisionable

I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...

Likes Replies
Likes Replies
replied 7 years ago

Getting list of threads with latest message in Laravel

Read this softonsofa.com/tweaking-eloquent-relations-how-to-get-latest-related-model/

0 Likes
replied 7 years ago

Eloquent: sort by pivot table?

How would you sort by a m-m relation?

0 Likes
replied 7 years ago
0 Likes
Solved
replied 7 years ago

how many relationships should a model have

@apps4u Don't worry about it. Just use whatever your model needs. If you see any bottlenecks, then y...

0 Likes
replied 7 years ago

How to observe Many to Many relation attach()/sync() action?

@Gwill you're right, there are no such events. Here's something you may use http://stackoverflow.com...

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.

© 2022 Laravel.io - All rights reserved.