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...
LaravelHey 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...
LaravelHello! 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...
LaravelWhen 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...
LaravelIn this tutorial, I’ll show you how to remove duplicate values from a Laravel 12 collection using the unique()
method. Whether you’re workin...
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...
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...
LaravelIn this tutorial, I’ll show you how to sort collections in Laravel 12 using sortByDesc() and other helpful methods. Whether you're sorting by simple values, counts, dates, multiple column...
LaravelIn this guide, I’ll show you how to schedule and run cron jobs in Laravel 12. You can automate tasks like emails, reports, or cleanup using Laravel’s built-in task scheduler. No more re...
LaravelIn this guide, I’ll show you how to make HTTP requests using Guzzle in Laravel 12. Whether you're calling an external API, sending data, or getting a response, Guzzle makes it simple. I&r...
Laravel