# CodeIgniter HTMX Documentation

This library is 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**.

### Requirements

![PHP](https://img.shields.io/badge/PHP-%5E8.0-blue)
![CodeIgniter](https://img.shields.io/badge/CodeIgniter-%5E4.3-blue)

### Table of Contents

* [Installation](installation.md)
* [Configuration](configuration.md)
* [Error handling](error_handling.md)
* [View fragments](view_fragments.md)
* [IncomingReqeuest](incoming_request.md)
* [Response](response.md)
* [RediretResponse](redirect_response.md)
* [HTML Formatter](html_formatter.md)
* [Debug Toolbar](debug_toolbar.md)
* [Troubleshooting](troubleshooting.md)

### Demos

[https://github.com/michalsn/codeigniter-htmx-demo](https://github.com/michalsn/codeigniter-htmx-demo)
