Installation
Install DEX via Composer and integrate it with your CodeIgniter 4 application.
Requirements
Before installing DEX, make sure your environment meets these requirements:
- PHP 8.2 or higher
- CodeIgniter 4.6.2 or higher
- Composer 2.x
- A database supported by CodeIgniter 4 (e.g. MySQL, MariaDB, SQLite)
Install via Composer
Install DEX as a dependency in your CodeIgniter 4 project:
composer require olajideolamide/dex
Run migrations
Create the DEX tables by running migrations:
php spark migrate --all
This creates:
dex_issuesdex_occurrencesdex_requests
Verify installation
Open your browser and navigate to:
http://your-app.test/dex
If you changed the route prefix, the URL becomes:
http://your-app.test/<routePrefix>
In
production, the dashboard is blocked by default. To enable it safely, read the Security Overview
Next steps
- Quick Start — Trigger a test exception and see it in the dashboard
- Configuration Overview — Learn how to configure DEX using
DEX_*environment variables