Support the ongoing development of Laravel.io →
tdhsmith

tdhsmith

Joined 13 Jul 2015

Statistics

Threads 0
Replies 30
Solutions 5
Articles 0

tdhsmith has not posted any threads yet

replied 9 years ago

Auth::logout() is throwing an error

Hi there! What version of Laravel are you using? Do you have more of the error's stack trace? (It wo...

0 Likes
replied 9 years ago

Group Eloquent query by column, order by another

The orderBy method can be applied to a query multiple times: Employee::orderBy('type_id', 'asc')->...

0 Likes
replied 9 years ago

How to assign task to either user or group?

Here's how I'd accomplish it as a custom rule. The rule itself is super simple, but it unfortunately...

0 Likes
Solved
replied 9 years ago

How to assign task to either user or group?

stalker said: The strange thing about it is that validation fails if i'm setting no user and no gro...

0 Likes
replied 9 years ago

How do you delete all relationships for a model?

For many-to-many, calling detach with no arguments will detach all: $category->subscribers()->...

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.