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 19–24 of 32 posts · Page 4 of 6

CodeIgniter 4 Stripe Payment Gateway Integration – Payment Intents

             Integrating a reliable and secure payment gateway is essential for any modern e-commerce application, membership site, or online service. In 2026, Stripe remains the #1 choice for developers worldwide due to its excellent documentation, global payment support, built-in fraud protection, and seamless compliance with PSD2, SCA, and 3D Secure standards.

By Revathi M · Read

Create a Dynamic XML Sitemap in CodeIgniter 4 – Complete Tutorial

             A dynamic XML sitemap in CodeIgniter 4 automatically lists your website's URLs (including posts, pages, or products) and helps search engines like Google discover and index content faster. This improves SEO, crawl efficiency, and visibility — especially for sites with frequently updated or database-driven content. In this guide, you'll build a fully dynamic sitemap that pulls URLs from a database, includes metadata like lastmod, changefreq, and priority, and serves it at /sitemap.xml.

By Revathi M · Read

CodeIgniter 4 JWT Authentication: Complete Tutorial for Secure API Login & Register

             Build a secure, token-based authentication system for your CodeIgniter 4 REST API using JWT (JSON Web Tokens). This stateless approach is ideal for mobile apps, SPAs, and microservices. We'll cover setup, user registration/login, token generation/validation, protected routes, and best practices.

By Revathi M · Read

CodeIgniter 4: Load More Data on Page Scroll with AJAX and jQuery (Infinite Scroll)

             Infinite scrolling (also called endless scroll or lazy pagination) improves user experience by automatically loading more records as the user scrolls down — no "Next" buttons needed. In this tutorial, we'll build it in CodeIgniter 4 using jQuery AJAX to fetch paginated data from MySQL without page reloads.

By Revathi M · Read

Server-Side DataTables in CodeIgniter 4: Complete AJAX Tutorial

             Server-side processing with DataTables is essential when dealing with large datasets in web applications. Instead of loading thousands of rows at once (client-side), DataTables sends AJAX requests to the server for each page, search, or sort — dramatically improving performance.

By Revathi M · Read

Facebook Login in CodeIgniter 4: Complete Step-by-Step Tutorial (Using Graph SDK & OAuth 2.0)

             In today's web applications, social login options like Facebook login improve user experience by eliminating the need for separate registrations. This CodeIgniter 4 Facebook login tutorial shows you how to integrate Facebook OAuth 2.0 authentication using the official Facebook Graph SDK via Composer. Users can log in securely, and you'll retrieve basic profile data (ID, name, email) to store in session or database.

By Revathi M · Read