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

Date and Time difference

That said, I would suggest approaching this problem a little differently if you want to do it the mo...

0 Likes
Solved
replied 9 years ago

Date and Time difference

I think you have a mistake in your Carbon methods: $today = $cDate->diffInSeconds(); So $today w...

0 Likes
replied 9 years ago

can not open login and register pages created by using command 'php artisan make:auth' ?

Laravel requires your PHP installation to have OpenSSL. If your PHP installation was not compiled wi...

0 Likes
replied 9 years ago

Group Eloquent query by column, order by another

Max13 said: How would it be possible to group the Employee result by contract.type_id and ordered b...

0 Likes
replied 9 years ago

Eloquent: Narrow search based off of foreign table.

I think the method you're looking for is whereHas (under the heading "Querying Relationship Exi...

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.