Laravel chunk() Skipping Records? Here’s the Real Fix

Table Of Content Why Chunking Is Important Understanding chunk() Understanding chunkById() (Recommended Solution) Key Differences at a Glance Common Mistakes to Avoid Best Practices (Production-Ready) Real-World Recommendation Final Thoughts When working with large datasets in Laravel, loading thousands or millions of records into memory at once can crash your application or slow it down significantly.... Continue Reading →

Laravel Passport Authentication – Complete OAuth2 Guide with Examples

Introduction: Why OAuth2 MattersWhat is OAuth2?Why Not Just Use Basic Authentication?Laravel PassportSetting Up Your First Passport ApplicationBuilding Your Authentication APIThe Key Concepts ExplainedDefining API RoutesUsing Your API - The Client SideAdvanced Passport FeaturesConclusion Introduction: Why OAuth2 Matters In today's connected world, APIs are essential for modern applications. Whether you're building a mobile app, a single-page... Continue Reading →

Laravel AJAX Call

Hello friends,I hope you guys are doing good. Today's blog will be about Laravel's most common functionality we are using nowadays and finding trouble to make it work, so here I am to solve your problem with a simple example of an ajax call with a post method to pass the data and get the... Continue Reading →

Laravel Cronjob and Queue: Make your task Automate

Hello folks,I hope you are doing well. Today am writing this blog because of my past hustle, which I had in my current project. I was working on a project which requires to make email automation but, the Cronjob was not enough. Yes, it was a bit difficult so, I just, Googled it but could... Continue Reading →

Redirection of the site from HTTPS to HTTP

Hey guys, I know its a very long time break but now I am back with this amazing blog, at least for me. 😀 So these days I was working on a project and after completing it I need to upload it on AWS's EC2 to make this available for everyone. So I created the... Continue Reading →

Let’s do some testing!

Hello people, Hope you are doing awesome stuff in your area. I am back with another cool blog...! I know it's only cool for me but its ok, Right...! I am learning anyway... So today's blog as the title suggest, its about the testing...Hey developer, where are you going? Wait and read it, It will... Continue Reading →

Laravel : Country – State – City Dropdown with AJAX

Many people have struggle with this topic and they can not get the output and some also complains that they get empty dropdown, so here I am writing my second post on medium and sharing my self tried code snippet with html-javascript file, controller file and route file. So let's begin… First we need a... Continue Reading →

Create a website or blog at WordPress.com

Up ↑