Support the ongoing development of Laravel.io →

SMills

Joined 3 Oct 2021

Statistics

Threads 3
Replies 1
Solutions 0
Articles 0
posted 7 months ago

Eloquent cast to date prints the time

If I have a date property I'm casting to date (not datetime), it always prints the time on string co...

sardorjs liked this thread

1 Likes
1 Replies
posted 8 months ago

Forge: Change repository url

We recently upgraded from Laravel 8 to Laravel 10, and changed enough things to warrant a new reposi...

0 Likes
0 Replies
posted 3 years ago

Eloquent: get all non-trashed plus one specific trashed

How would I get a list of active Users plus a User that might be soft-deleted? Say, a salesperson is...

0 Likes
2 Replies
replied 3 years ago

Eloquent: get all non-trashed plus one specific trashed

withTrashed returns all soft deleted users. I want all active users, plus the one that's (possibly)...

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.

© 2024 Laravel.io - All rights reserved.