LATEST POSTS

Laravel 12 Generate Fake Data using Factory Tinker

Hey! In this article, I’ll show you how I use Laravel 12 factories and Tinker to generate fake data — perfect for testing layouts, tables, and APIs without manually adding records.

...

Laravel

How to Get SQL Query Log in Laravel 12

Hey! In this article, I’ll show you how I get SQL query logs in Laravel 12 when I want to debug database issues or just see what queries are being run in the background.

Laravel giv...

Laravel MySQL

Laravel 12 Toastr Notification: Step by Step Guide

If you want to show stylish notifications like success, error, or warning messages in your Laravel 12 app, then Toastr is a great option. In this tutorial, I’ll show you how to add Toastr not...

Laravel

Laravel 12 Flash Message: Step by Step Guide

Hey! In this article, I’ll show you how I use flash messages in Laravel 12 to show success or error alerts after actions like form submission, login, or update.

Flash messages are s...

Laravel

Laravel 12 Clear Cache, Route, Config, Event Command

Hey there! In this article, I’ll show you how I clear different types of cache in Laravel 12 using simple artisan commands. Whether you're stuck with outdated routes, configs, or views, t...

Laravel

Laravel 12 Select2 Ajax Autocomplete Search

Hello! In this article, I’ll show you how I implemented a Select2 autocomplete search in Laravel 12 using Ajax. This is super useful when you want a search box that loads results from the dat...

Laravel

How to Get Client IP Address in Laravel 12

When I started working with Laravel 12, one of the basic things I needed was to get the client’s IP address—either for logging, security, or just trackin...

Laravel

How to Remove Duplicates from Collection in Laravel 12

In this tutorial, I’ll show you how to remove duplicate values from a Laravel 12 collection using the unique() method. Whether you’re workin...

Laravel

How to Merge Two Collection in Laravel 12

In this tutorial, I’ll show you how to merge two Eloquent collections in Laravel 12 using the merge() method. This is useful when you want to comb...

Laravel

How to sortBy Collection in Laravel 12

ns in Laravel 12 using the sortBy() method. It helps you arrange items in ascending order based on a key or a callback function. I’ll walk you through different use cases, including simple va...

Laravel

RECOMMENDED POSTS

FEATURE POSTS