In this post, I will explain what is the usage of Laravel Eloquent firstOr() and its importance. Laravel provides firstOr() that enables us to put another logic...
SendGrid sends email in two ways:- SMTP relay and Web API. SendGrid provides client libraries in many languages. SMTP has many features by default but is hard t...
In this post, I'm sharing how to implement the Laravel 8 and 9 user impersonation. Usually using this functionality to log in on behalf of admin users. User imp...
In this artical we will see how to use where and orwhere condition in laravel 8. For where() and orWhere() method the first argument is the name of the column....
Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. Start your free 14-day trial...
Unlike traditional Long-polling using AJAX requests, where multiple requests are sent to the server and a new connection is established each time, event streams...
Laravel is basically a framework used to build web applications using PHP at the backend. It is one of the most popular PHP-based web frameworks considered nowa...
This article was originally written by Darius D on the Honeybadger Developer Blog. We would like to start this article with a real-life example. Imagine an ice...
FormKit is a form-building framework for Vue developers that makes authoring high-quality production-ready forms 10x faster. It is easy to learn and ships with...
Najm Njeim introduced an amazing Laravel package called World that provides a list of the countries, states, cities, timezones, currencies, and languages. It ca...
There are two ways to include Select2 plugin in your laravel project, one is via including the CDN and another is via NPM i.e. node package manager. I find hand...
If you are looking to get the total number of records that are created / updated today in the mysql database, then the following Eloquent query will come handy.