chriskacerguis/codeigniter-restserver

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 14th, 2026
Created on June 18th, 2009
Open Issues & Pull Requests: 1 (+0)
GitHub issues: Enabled
Number of forks: 2,773
Total Stargazers: 4,866 (+0)
Total Subscribers: 400 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 134.0 days
Mean response time: 271.6 days
90th percentile: 732.4 days
Tracked items: 5

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 353 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

CodeIgniter RestServer is a REST API library for CodeIgniter that provides a fully RESTful server implementation using a single library, configuration file, and controller.

The tool addresses the need to build REST APIs within CodeIgniter applications by abstracting common REST patterns into reusable components. Developers extend a RestController base class and define methods that automatically map to HTTP verbs and URL patterns. The library handles content negotiation, routing requests to appropriate handlers, and formatting responses in multiple output formats. Configuration is centralized in a single config file, reducing boilerplate and keeping API behavior consistent across endpoints.

CodeIgniter RestServer suits teams already committed to the CodeIgniter framework who need to expose data through REST endpoints without building request handling and response formatting from scratch. It works well for applications where a lightweight, framework-integrated approach is preferred over standalone API frameworks. The tool supports multiple response formats and allows developers to extend the Format class to add custom output types like PDF if needed.

The project maintains active development with a version 4 in beta available on the development branch, indicating ongoing evolution to support newer PHP versions and CodeIgniter versions. The tool is distributed through Packagist with semantic versioning, making dependency management straightforward for projects using Composer. Documentation includes practical examples showing how to structure controllers and handle common patterns like filtering results by ID through URL parameters.