How to Get Base URL in Laravel 12

How to Get Base URL in Laravel 12

In this laravel tutorial, we’ll also see how to get base URL in laravel 12 with or without the http/https scheme, both in the controller and in the Blade file, using practical examples. When building web applications with Laravel, it’s often necessary to generate links, redirect users, load assets, or work with APIs dynamically — … 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 Create Middleware with Parameters in Laravel 12

In this post, you’ll learn how to create middleware with parameters in Laravel 12, step-by-step with code examples. Middleware in Laravel act as a bridge between requests and responses. .we can say it acts as a filter for HTTP requests coming to your application — allowing you to inspect, modify, or reject requests based on … 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 How to Send WhatsApp message using Twilio

Laravel 12 How to Send WhatsApp

In this tutorial Laravel 12 How to Send WhatsApp message using Twilio, I will show you how to send whatsapp messages using twilio api in laravel 12 application.In this example, I’m only showing how to send a simple text message with emojis using WhatsApp. But you can also use the same method to send pictures, … Read more

How to Send SMS to Mobile Number in Laravel 12 Using Twilio API

How to Send SMS to Mobile Number in Laravel 12 Using Twilio API

In this post How to Send SMS to Mobile Number in Laravel 12 Using Twilio API, you’ll learn how to send text messages or SMS to mobile number using the Twilio API in a Laravel 12 application. Twilio is a powerful cloud-based communications platform that enables developers to integrate features like SMS, voice calls, email, … Read more

Laravel 12 Authentication with Breeze Tutorial

Laravel 12 Authentication with Breeze Tutorial

In this Laravel 12 Authentication with Breeze tutorial, you’ll learn how to set up a simple and clean authentication system using Laravel Breeze. Breeze provides a minimal, easy-to-customize starting point for Laravel authentication with built-in login, registration, password reset, and email verification features. The tutorial includes: The blog also includes real screenshots and a simple … 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

Laravel 12 image Upload in public folder with preview

Laravel 12 image Upload in public folder with preview

Laravel 12 image Upload in public folder with preview in this post, I’ll guide you through the process of uploading an image to the public folder in a Laravel 12 application. Includes image live preview, image validation, image dimension validation, image type validation, image size validation, Bootstrap 5.3 form, and unique file name generation. In … Read more