2017 © Pedro Peláez
 

library platypus

A simple Framework for reusing existing Objects as a base for REST-APIs.

image

restful-platypus/platypus

A simple Framework for reusing existing Objects as a base for REST-APIs.

  • Monday, October 24, 2016
  • by restipus
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Platypus

Platypus is a simple Framework written in PHP for reusing existing Objects as a base for REST-APIs. It supports automatic generation of HATEOAS-links and makes use of annotations - so (in most cases) the code can stay the same., (*1)

A very basic example could look like this:, (*2)

<?php
/**
 * @self /user/{name}
 */
class User {
    /**
     * @method get
     */
    public function get($name) {
        return ['name' => $name];
    }
}

More at restful-platyp.us., (*3)

The Versions

24/10 2016

dev-master

9999999-dev

A simple Framework for reusing existing Objects as a base for REST-APIs.

  Sources   Download

MIT

The Requires

 

framework rest hateoas