SQL Joins with Laravel Eloquent

I was going through a LinkedIn post in which someone explained the SQL Joins. Let’s let “artisans” know how we use them with the medium of Laravel Eloquent. In the realm of databases, SQL joins are key tools for pulling related data from various tables. If you’re a Laravel developer, you can make your life … Read more

Troubleshooting MySQL Unexpected Shutdowns on Production

Experiencing an unexpected MySQL shutdown on a production server can be a nightmare, especially if your Laravel application relies heavily on database operations. This blog post will explore common reasons behind MySQL crashes and provide practical steps to diagnose and fix these issues. 1. Insufficient Memory Cause: MySQL requires a certain amount of memory to … Read more

Understanding Facade In Laravel

Today we are going to learn about the term “facade” that we use in Laravel. Since so many days I have wrote this question in my notebook that what it is actually. Then I get to know that we can create custom facades in Laravel. So, I have decided that I should write a blog … Read more

How To Create Custom Laravel Helpers

laravel helpers

Hey there, Today we’re diving into the fascinating world of custom Laravel helpers, where coding meets creativity, and sprinkle of humor makes everything more fun. What are Custom Helpers Imagine having a magical toolbox with shortcuts and tricks to make your Laravel development journey smoother. Helpers are functions that autoload in your application to do … Read more

How to Configure Middleware In Laravel 11

Hi everyone, As you guys know Laravel 11 is officially released now. So, there are plenty of new things that has been released along with new structure. If you look at the new structure, You won’t see kernal.php the file in Laravel 11. So, you won’t be able to configure middleware aliases in kernal.php. Instead … Read more

Restrict User With IP in Laravel V10

We can easily restrict users with Ips in any laravel application. Restriction means you want to make your web application for a few users whose IPs you have added to the system. Then it’s very easy. We need to make a middleware that will verify the IP addresses and redirect the user accordingly. Create A … Read more

WhereAll and WhereAny In Laravel 10.47 Update

Today I’m going to share an update of the Laravel 10.47 version in which we have two new Laravel Eloquent methods that make conditions easier to write most of the time in case of searching for something. We going to see how we can use these methods. Before explaining the methods I’m gonna show you … Read more