Market/API Auth Guard (CodeIgniter 4)
Code LibrariesVersion 1.3.2

API Auth Guard (CodeIgniter 4)

JWT authentication, rate limiting and API keys for CodeIgniter 4 — one config file.

Drop-in authentication for CodeIgniter 4 APIs: JWT issuance & refresh, per-route rate limiting, API key management with scopes and a request audit trail. Designed for legacy CI teams modernizing their backends without a rewrite.

Features

  • JWT access + refresh tokens
  • Per-route rate limiting
  • Scoped API keys
  • Request audit trail

Requirements

PHP 8.0+, CodeIgniter 4.4+.

Changelog

v1.3.2Jun 2026

Fixed

  • · Refresh token rotation edge case

Improved

  • · Rate limiter memory usage