Support the ongoing development of Laravel.io →
lainga9

lainga9

Joined 12 Feb 2014

Statistics

Threads 7
Replies 10
Solutions 1
Articles 0
posted 11 years ago

Custom Validation dependent on 3 fields

I have three different fields which are percentage values and all need to add up to 100. I've looked...

0 Likes
0 Replies
posted 11 years ago

Chaining hasMany relationships

Let's say a school has many teachers, and each teacher has many pupils. Is there an easy way of retu...

0 Likes
6 Replies
replied 10 years ago

Scope to check for existence of a relationship

Thanks for your reply - you're exactly right. I did in fact try this method but it didn't seem to be...

0 Likes
replied 11 years ago

Eloquent relationship containing where and orWhere constraints?

Yeah I could code it into the controller but I make this call so many times I'm going to be repeatin...

0 Likes
replied 11 years ago

Paginator::make() returning so much data it crashes the browser!

Ah rite ok I understand. Thanks for all your help!

0 Likes
replied 11 years ago

Paginator::make() returning so much data it crashes the browser!

iClosedz said: Did you try $activities = Paginator::make($activities, count($activities), 10); $ite...

0 Likes
replied 11 years ago

Paginator::make() returning so much data it crashes the browser!

I've noticed a typo in the code I typed above - I actually use $activities = Paginator::make($activi...

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.