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

Repository Pattern in Laravel: A Beginner’s Guide

Hey there, fellow developers! Today, we’re diving into the fascinating world of Laravel and exploring a powerful design pattern that can significantly enhance the structure and maintainability of your applications — the Repository Pattern. What is the Repository Pattern? Think of the Repository Pattern as your application’s librarian. It’s the intermediary between your code and … Read more