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.
... LaravelHey! 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 MySQLIf 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...
LaravelHey! 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...
Laravel