Skip to content

michalsn/codeigniter-htmx

Repository files navigation

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