# chriskacerguis/codeigniter-restserver

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

Repository: https://github.com/chriskacerguis/codeigniter-restserver
Canonical: https://ross.abutalabs.com/products/codeigniter-restserver
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-05-19T22:29:28+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 83, release rhythm 40, longevity 100
- inputs: {"age_days": 6285, "days_push": 106, "days_rel": 716, "gap_med": 6, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4867, forks 2777 (observed 2026-08-28T04:09:01.588789+00:00)

## What it is
A RESTful server implementation for CodeIgniter 3 provided as a single library, config file, and base controller. It lets PHP developers expose REST APIs by extending a RestController class.

## Use cases
- build a rest api in codeigniter
- serve json endpoints from php
- create restful web services with codeigniter 3
- handle get/post requests in an api controller
- add api key auth to codeigniter endpoints

## When to choose
- you have an existing CodeIgniter 3 application and need to expose a REST API
- you want a minimal, single-library REST server with simple controller extension

## When to avoid
- you are starting a new project on CodeIgniter 4 or another framework
- you need a modern async or microservice-focused API framework

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, http-server, auth, serialization
- domain: web-development, backend, apis
- platform: php, self-hosted
- tags: codeigniter, rest-api, restful-server, web-server

## Member repositories
- chriskacerguis/codeigniter-restserver (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.588789+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:20.870602+00:00, confidence not recorded.
  - readme: https://github.com/chriskacerguis/codeigniter-restserver (fetched 2026-08-28T04:09:01.588789+00:00, sha a318899cb81c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
