Skip to content
CAI
Software that uses CAICheck a score

chriskacerguis/codeigniter-restserver

35.1

Weak · 17 November 2026

3.1k

lines of production code

PHP

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a CodeIgniter 3 library that provides a RESTful server implementation for building APIs. It handles HTTP method routing, response formatting in various data types, and includes configuration for authentication and error handling. The package is distributed via Composer and supports localized error messages in multiple languages.

Features

Added REST API error message translations for multiple languages

This change introduces new language files for the REST controller, providing translated error messages for Bulgarian, Dutch, English, French, German, Greek, Indonesian, Italian, Korean, Brazilian Portuguese, Romanian, Serbian (Cyrillic and Latin), Simplified Chinese, Traditional Chinese, Spanish, and Turkish. These files cover standard API responses such as invalid keys, unauthorized access, IP restrictions, and method limits, ensuring users see localized feedback when interacting with the REST API.

language, src/auth · high confidence

Initial release of CodeIgniter RestServer library

This change introduces the CodeIgniter RestServer library, providing a fully RESTful server implementation for CodeIgniter 3. It includes the core library files, a configuration file, and a base controller for building REST APIs. The package is distributed via Composer and requires PHP 7.2+ and CodeIgniter 3.1.11+. The release also adds a .gitignore file to exclude IDE and vendor artifacts, and replaces the previous EllisLab license with the MIT License.

(repo-wide) · high confidence

Initial release of the CodeIgniter REST Server library

This change introduces the core components of the REST Server library for CodeIgniter, including the \RestController\ class for handling HTTP methods and responses, the \Format\ class for converting data to JSON, XML, CSV, and other formats, and the \rest.php\ configuration file for setting defaults like authentication and output formats. It also includes a security-focused \index.html\ file to prevent directory listing.

src · high confidence

Removals

Removal of legacy CodeIgniter 1.7 system files

The system directory no longer includes the core CodeIgniter 1.7 files (such as Base4.php, Base5.php, CodeIgniter.php, Common.php, Compat.php, and the database drivers), effectively removing the legacy framework support from this location.

system · high confidence

Removal of legacy REST\_Controller library

The legacy REST\_Controller library has been removed from the application. This file, which previously handled RESTful request routing, method detection, format negotiation, and basic authentication, is no longer present in the codebase.

application/libraries · high confidence

Removal of legacy example\_api and welcome controllers

The legacy example\_api controller, which previously demonstrated RESTful endpoints for user resources, and the default welcome controller have been removed from the application. This cleanup eliminates outdated code samples and the default welcome page, likely as part of the broader migration to CodeIgniter 2.0 where the base controller inheritance model changed.

application/controllers · high confidence

Behavioural changes

Removal of default CodeIgniter application configuration and error templates

The default CodeIgniter application configuration files (autoload, config, constants, database, doctypes, hooks, mimes, rest, routes, smileys, user\_agents) and error view templates (404, database, general, PHP) have been removed from the application/config and application/errors directories. This cleanup eliminates the standard scaffolding and boilerplate settings, requiring users to provide their own configuration and error handling files rather than inheriting the framework's defaults.

application/config · high confidence

Removal of default CodeIgniter welcome page

The default 'Welcome to CodeIgniter' view template has been removed from the application. This change eliminates the standard landing page that previously displayed framework information, navigation links to the User Guide, and controller details, indicating a shift away from the default starter template towards a custom or REST-focused application structure.

application/views · high confidence

Dependencies

Add Composer support for CodeIgniter REST Server

The project now includes a composer.json manifest, enabling installation and autoloading via Composer. The package is defined as 'chriskacerguis/codeigniter-restserver' with PSR-4 autoloading configured for the 'src/' directory.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 36.5 → 35.1 (-1.4)
  • Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 63.0 → 62.9 (-0.1)
  • Architecture 91.4 → 91.4 (0.0)
  • Maturity 46.7 → 46.7 (0.0)
  • Readiness 23.3 → 23.3 (0.0)
  • Security 95.0 → 100.0 (+5.0)
  • Accessibility 32.4 → 26.7 (-5.7)

Resolved (3)

  • High secret: WD-SECRET-0005 (system/database/drivers/postgre/postgre_driver.php)
  • No tests found
  • Rotate the exposed credentials — git history can't be un-committed

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

chriskacerguis/codeigniter-restserver was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit b40cba2fd92869d6b224fc8d4bf068fed6078dd7 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.