Home

Awesome

CodeIgniter HTMX

A set of methods for IncomingRequest, Response and RedirectResponse classes to help you work with htmx fluently in CodeIgniter 4 framework.

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

PHPUnit PHPStan Deptrac Coverage Status

PHP CodeIgniter

Installation

composer require michalsn/codeigniter-htmx

[!NOTE] Remember - you still need to include the htmx javascript library inside the head tag.

Docs

https://michalsn.github.io/codeigniter-htmx/

Demos

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