Setup RESTful service with Codeigniter

This tutorial will show you how to configure RESTful server with Codeigniter so that we can create and deploy REST services with Codeigniter applications. Codeigniter Rest Server is a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.Requirements
PHP 5.4 or greater
CodeIgniter 3.0+

If you want Netbeans IDE based Codeigniter setup then please go through first http://www.roytuts.com/setup-codeigniter-netbeans-and-xampp-in-windows/

Download the Rest Server from link https://github.com/chriskacerguis/codeigniter-restserver

Rest Server Installation

Extract the downloaded archive directory.

Copy codeigniter-restserver-master\application\config\rest.php file to Codeigniter project directory <project name> \application\config.

Copy codeigniter-restserver-master\application\libraries\Rest_Controller.php file to Codeigniter project directory <project name> \application\libraries.

Copy codeigniter-restserver-master\application\libraries\Format.php file to Codeigniter project directory <project name> \application\libraries.

Copy codeigniter-restserver-master\application\language\english\rest_controller_lang.php file to Codeigniter project directory <project name> \application\language\english.

Thanks for reading.

Soumitra

Software Professional, I am passionate to work on web/enterprise application. For more information please go to about me. You can follow on Twitter. You can be a friend on Facebook or Google Plus or Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.