michalsn/codeigniter-htmx

HTMX helper for CodeIgniter 4 framework

v2.1.0 2024-11-06 15:06 UTC

This package is auto-updated.

Last update: 2024-11-06 15:07:25 UTC


README

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