Skip to content

surjeetnandi/Codeigniter-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeigniter-API

Codeigniter-API (RestServer)

A fully RESTful server implementation for CodeIgniter using chriskacerguis library

This version is already configured to work with restfull-Api, so just download this version and start using

What is CodeIgniter

CodeIgniter is an Application Development MVC Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

What is API

API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, you’re using an API.

Server Requirements

PHP version 5.6 + recommended.

It should work on 5.6 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

Installation

Some HTTP Status Code

HTTP_OK = 200;
HTTP_CREATED = 201;
HTTP_NOT_MODIFIED = 304;
HTTP_BAD_REQUEST = 400;
HTTP_UNAUTHORIZED = 401;
HTTP_FORBIDDEN = 403;
HTTP_NOT_FOUND = 404;
HTTP_METHOD_NOT_ALLOWED = 405;
HTTP_NOT_ACCEPTABLE = 406;
HTTP_INTERNAL_ERROR = 500;