All Tutorials & Sample Codes

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

Showing 37–42 of 79 posts · Page 7 of 14

Generate PDF from HTML in CodeIgniter 4 Using Dompdf

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;In modern web applications built with <b>CodeIgniter 4</b>, generating PDFs for invoices, receipts, reports, or contracts is a common requirement. Dompdf is a popular, lightweight PHP library that converts HTML + CSS directly into PDF documents — no external dependencies needed beyond Composer.<br /> This step-by-step guide shows you how to integrate Dompdf in CodeIgniter 4 to create dynamic PDFs (using a real-world invoice example with order data from MySQL). By the end, you'll have a working PDF generator.

By Revathi M · Read

How to Generate vCard (.vcf) Files in Laravel 11 – Complete Tutorial

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;In this comprehensive guide, you'll discover how to implement a powerful <strong>Laravel vCard generator</strong> to dynamically create and export professional vCard (.vcf) files from your Laravel 11 application. Whether you're building a CRM, employee directory, networking tool, or digital business card platform, generating vCards allows users to instantly share contact details with smartphones, email clients, and address books — no manual entry required. Follow our step-by-step tutorial to set up a complete contact management system with seamless vCard downloads using best-practice packages and clean, maintainable code. By the end, you'll have a fully functional feature ready to enhance user experience and streamline professional networking in 2025–2026.

By Revathi M · Read

How to Dynamically Generate and Download vCard Files in CodeIgniter 4

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;In this tutorial, you'll learn how to <b>dynamically generate vCard (.vcf)</b> files in CodeIgniter 4 and allow users to download contact information directly from your database. This is useful for contact management apps, directories, or CRM-like systems.<br> We'll build a simple contact list with DataTables, add new contacts via popup, and provide a "Download vCard" button per record.

By Revathi M · Read

How to Create Dynamic Charts with Filter Options in ApexCharts Using Laravel 11

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ApexCharts is a modern, free JavaScript charting library perfect for creating responsive, interactive visualizations (bar, line, area, pie, and more). In this Laravel 11 tutorial, you'll learn how to build <b>dynamic charts with filter options</b> — specifically, an AJAX-powered year selector that updates a monthly user registration bar chart without page reloads.<br> Great for admin dashboards, analytics pages, or reports!

By Revathi M · Read

Create Dynamic Charts with Filter Options in ApexCharts using CodeIgniter 4

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ApexCharts is a powerful, open-source JavaScript library for creating responsive, interactive charts (bar, line, area, pie, and more). In this CodeIgniter 4 tutorial, you'll learn how to build a dynamic bar chart that displays monthly user registrations — with real-time filtering by year using AJAX. No page reloads needed. This guide covers project setup, database seeding, backend data processing, and frontend chart rendering/updates. Ideal for admin dashboards or analytics pages.

By Revathi M · Read

Integrate FullCalendar in CodeIgniter 4: Build an Events Calendar with CRUD, AJAX & MySQL

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FullCalendar is a powerful JavaScript calendar library for displaying and managing events. In this CodeIgniter 4 FullCalendar tutorial, you'll learn to build a complete <b>events calendar</b> with <b>CRUD operations</b> using <b>AJAX, drag-and-drop</b>, date selection, and MySQL storage. This is ideal for appointment booking, task scheduling, or event management systems.

By Revathi M · Read