Code Monkey home page Code Monkey logo

restler's Introduction

Luracast Restler 2.0


Update:- Restler 3 RC (PHP 5.3+) is available with more features, take a look at the Repository and try the Live Examples


Restler is a simple and effective multi-protocol REST API Server written in PHP. Just deal with your business logic in php, restler will take care of the REST!

Features

  • Light weight
  • Flexible
  • Customizable
  • Supports HTTP request methods GET, POST, PUT, and DELETE
  • Clients can use X-HTTP-Method-Override header
  • Two way format conversion
  • Pluggable Formatters
  • Comes with JSON, XML, Yaml, Amf, and Plist(both XML and Binary) formats
  • Pluggable Authentication schemes
  • Comes with many Examples that can be tried on your localhost to get started
  • URL to Method mapping
  • URL part to Method parameter mapping
  • Supports URLEncoded format for simplified input
  • Query parameters to Method parameter mapping
  • Source code distributed under LGPL

Changes from Restler 1.0

Restler 2.0 is a major rewrite to use convention over configuration and it is optimized for performance. Here are some of the major changes and improvements

  • PHPDoc comments to map a method to URI is now optional.
  • All public methods that does not begin with an underscore are mapped automatically to the method name (gateway\classname\methodname\param1\...)
  • If we do not specify the second parameter for $restler->addAPIClass it will be mapped to the class name instead of mapping it to the root
  • Restler 2 is written for PHP 5.3 and above but it make use of compat.php and work on any version of PHP starting from PHP 5.0

more information is available on the features page

restler's People

Contributors

arul- avatar joelrsimpson avatar nickl- avatar telephone avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.