Support the ongoing development of Laravel.io →

Dan Coulter

Joined 17 Jan 2023

Statistics

Threads 0
Replies 2
Solutions 0
Articles 0

dancoulter has not posted any threads yet

replied 7 months ago

How to Check If array Is Empty in Controller

if($bookingLists->isEmpty()) {} else {}

0 Likes
replied 1 year ago

How can I turn a numeric array into an array of objects?

You could do something like this to convert the slug into the name instead of needing the name in th...

akhilalphonic, driesvints liked this reply

2 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.