Skip to content

CodeIgniter HTMX Documentation

This library provides methods for the IncomingRequest, Response, and RedirectResponse classes to help you work fluently with htmx in CodeIgniter 4.

It also provides some additional help with handling errors and Debug Toolbar in development mode as well as support for view fragments.

This version targets the htmx 4 request/response model and event lifecycle. For htmx 2 projects, use the v2 branch.

Requirements

PHP CodeIgniter

Table of Contents

Demos

https://github.com/michalsn/codeigniter-htmx-demo