Category: Laravel

When using Laravel Eloquent queries normally we use !$result to check if a retrieved result is empty or not, but what will we do if we need to check the count of the result or want to see if the query returned to an empty result or not?. Laravel has a solution for this problem. We can use

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners