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 55–60 of 87 posts · Page 10 of 15

How to Add Social Media Share Buttons in Laravel 11 – Step-by-Step Tutorial

             In today's digital landscape, driving organic traffic and increasing user engagement is essential for any Laravel-powered blog, e-commerce site, portfolio, or content platform. One of the simplest yet most effective ways to achieve this is by integrating social media share buttons directly into your pages. When visitors can easily share your articles, products, or posts on platforms like Facebook, X (Twitter), LinkedIn, WhatsApp, Telegram, Reddit, and more, your content reaches wider audiences without paid promotion.

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

Laravel 11 JWT Authentication Tutorial: Build a Secure RESTful API from Scratch

              JSON Web Tokens (JWT) provide a stateless, secure way to authenticate users in RESTful APIs. In this complete Laravel 11 JWT authentication tutorial, you'll learn to set up a production-ready API with user registration, login, token management, and protected endpoints using the reliable php-open-source-saver/jwt-auth package (a maintained fork of the original tymon/jwt-auth).

By Revathi M · Read

Laravel 11: Load More Data on Page Scroll Using jQuery AJAX (Infinite Scroll Tutorial)

             In today's web applications, infinite scrolling provides a smooth, engaging user experience — think Instagram or Twitter feeds. Instead of clicking "Next Page", content loads automatically as the user scrolls down. In this Laravel 11 tutorial, you'll learn how to implement load more data on scroll using jQuery and AJAX. We'll use Laravel's built-in pagination combined with an AJAX call to fetch additional records dynamically from the database.

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