Laravel 12 Cron Job Task Scheduling Example Using Email

Laravel 12 Cron Job Task Scheduling Example Using Email

In this Post “Laravel 12 cron job task scheduling example using email” ,I will show you how to schedule task to send email daily at specific time using cron job in laravel 12 application. In modern web applications, automation is key. Task scheduling allows you to automatically execute repetitive tasks like sending emails, generating reports, … Read more

Laravel 12 Print Last Executed Query with Parameters

Laravel 12 Print Last Executed Query with Parameters

In this Laravel tutorial “Laravel 12 Print Last Executed Query with Parameters”, you’ll learn how to get the last executed SQL query in Laravel 12 using DB::enableQueryLog(), getQueryLog(), toSql(), dd(), listen(), ddRawSql(), end(). This is helpful for debugging or understanding what queries are being run behind the scenes. Laravel offers several ways to view SQL … Read more

Laravel 12 Bootstrap Multiselect Dropdown with Checkbox Example

Laravel Bootstrap Multiselect Dropdown with Checkbox Example

In this post “Laravel 12 Bootstrap Multiselect Dropdown with Checkbox Example”, you’ll learn how to implement a Bootstrap multiselect dropdown with checkboxes in a Laravel application. This feature is commonly used when users need to select multiple values—such as countries, categories, or tags—from a single dropdown. This example is compatible with Laravel 8, Laravel 9, … Read more

Laravel 12 SortBy Collection Tutorial with Example

Laravel 12 SortBy Collection Tutorial with Example

In this post titled Laravel 12 SortBy Collection Tutorial with Example, you’ll learn how to sort collection data in multiple ways, including by key, nested key, dates, and more — all through easy-to-follow examples.Sorting data efficiently is a common requirement in any web application, and Laravel makes it incredibly simple with its powerful Collection methods. … Read more

How to Get Current Full URL in Laravel 12

How to Get Current Full URL in Laravel 12

In this tutorial, you will learn how to get current full URL in laravel 12, previous full URL, with or without query parameters, and even fetch the current route name. We’ll use both helper functions and facade methods to demonstrate each approach clearly. You’ll find working examples for each method, including how to access these … Read more

How to Send Mail in Laravel 12 Using Gmail SMTP Step-by-Step Tutorial

How to Send Mail in Laravel 12 Using Gmail SMTP Step-by-Step Tutorial

In this tutorial, we’ll show you How to Send Mail in Laravel 12 Using Gmail SMTP Step-by-Step Tutorial. Laravel supports multiple email drivers including SMTP, Mailgun, Postmark, Resend, Amazon SES, and Send mail. This flexibility allows you to send emails through both local and cloud-based services. This tutorial focuses only on sending emails using Gmail … Read more

Laravel 12 Image Validation Rules Example

Laravel 12 Image Validation Rules Example

In this post Laravel 12 Image Validation Rules Example Tutorial, I will guide you through the process of uploading an image validation rules in laravel 12 application. laravel provides default image validation rules like image, mimes, max, min,size and dimensions. Using Laravel default validation rules you can validate file type “jpeg,jpg,png,svg,etc”, using max  and min … Read more