All Laravel, PHP & CodeIgniter Tutorials

Browse all our Laravel 12, CodeIgniter 4, and PHP tutorials. Each guide includes working source code, best practices, and step-by-step instructions.

Showing 13–18 of 46 posts · Page 3 of 8

How to Upgrade from Laravel 11 to Laravel 12 Without Breaking Changes

Laravel 12 brings refined dependency management, UUIDv7 support, and Carbon 3 compatibility — but upgrading doesn't have to be stressful. This step-by-step guide walks you through every stage of upgrading from Laravel 11 to Laravel 12, from backing up your project and updating composer.json to handling breaking changes and running post-upgrade tests. Follow along with complete code examples and best practices to keep your application stable throughout the process.

By Revathi M · Read

Implementing Live Search in Laravel 12 Using AJAX: A Comprehensive Guide

Live search is a must-have feature for modern web applications. In this step-by-step guide, you will learn how to implement a real-time live search feature in Laravel 12 using AJAX and jQuery. The tutorial covers project setup, database migration, seeding, Eloquent queries, and a complete front-end with Bootstrap — all with clean, production-ready code examples.

By Revathi M · Read

How to Implement Google Places Autocomplete for Locations in Laravel 12: A Complete Guide

Adding address autocomplete to your Laravel 12 application improves usability and data accuracy. In this hands-on tutorial, you will integrate the Google Places Autocomplete API to suggest real-time locations as users type, capture latitude and longitude coordinates, and store them in a MySQL database. We cover every step from obtaining an API key to building the Blade form with working JavaScript.

By Revathi M · Read

How to Install Vue.js in Laravel 12: Step-by-Step Guide with Code Examples

Laravel 12 ships with a modern frontend toolchain powered by Vite, making it easier than ever to integrate JavaScript frameworks like Vue.js. Whether you're building a dashboard, SPA components, or interactive UI blocks, Vue fits naturally into Laravel's ecosystem. In this step-by-step tutorial, you will learn how to install Vue 3, configure Vite, create your first component, and run the application.

By Revathi M · Read

Getting Started with Laravel 12's New React Starter Kit – Full Setup with Authentication

Learn how to set up Laravel 12's React Starter Kit with Inertia.js, TypeScript, Tailwind CSS, and shadcn/ui. This step-by-step guide covers full project installation, authentication configuration with Laravel Fortify (including 2FA and email verification), React frontend pages, routing, and testing — everything you need to build a modern full-stack app from scratch.

By Revathi M · Read

Implementing Multi-Factor Authentication (MFA/2FA) in Laravel 12 with Google Authenticator

In today's digital landscape, securing user accounts is paramount. With cyber threats on the rise, relying solely on passwords is no longer sufficient. Multi-Factor Authentication (MFA), also known as Two-Factor Authentication (2FA), adds an extra layer of security by requiring a second verification method, such as a time-based one-time password (TOTP) from an app like Google Authenticator. In this step-by-step tutorial, you will learn how to implement MFA/2FA in a Laravel 12 application using the PragmaRX Google2FA package, complete with QR code setup, TOTP verification, recovery codes, and middleware protection.

By Revathi M · Read