chriskacerguis / codeigniter-restserver
A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing chriskacerguis/codeigniter-restserver in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewCodeIgniter RestServer A fully RESTful server implementation for CodeIgniter 3 using one library, one config file and one controller. > [!IMPORTANT] > I have published the first "beta" of codeigniter-restserver 4. See the "development" branch. Please be sure to note the system requirments. Requirements • PHP 7.2 or greater • CodeIgniter 3.1.11+ Installation Usage CodeIgniter Rest Server is available on Packagist (using semantic versioning), and installation via composer is the recommended way to install Codeigniter Rest Server. Just add this line to your file: or run Note that you will need to copy to your directory (e.g. ) Step 1: Add this to your controller (should be before any of your code) Step 2: Extend your controller Basic GET example Here is a basic example. This controller, which should be saved as , can be called in two ways: • will return the list of all users • will only return information about the user with id = 1 Extending supported formats If you need to be able to support more formats for replies, you can extend the class to add the required methods • Extend the class (in ) • Extend the class (can be created as a CodeIgniter library in ). Following is an example to add support for PDF output