2017 © Pedro Peláez
 

library restserver

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.

image

byjg/restserver

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.

  • Tuesday, March 13, 2018
  • by byjg
  • Repository
  • 2 Watchers
  • 2 Stars
  • 10,007 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 16 Versions
  • 8 % Grown

The README.md

PHP Rest Server

Build Status Opensource ByJG GitHub source GitHub license GitHub release, (*1)

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition., (*2)

Documentation

Setup: - Set up the RestServer, (*3)

Creating and customizing routes: - Defining Route Names - Create Routes using Closures - Create Routes Manually - Create Routes using PHP Attributes - Auto-Generate from an OpenApi definition (hot), (*4)

Processing the request and output the response: - HttpRequest and HttpResponse object, (*5)

Advanced: - Middleware - Error Handler - Intercepting the Request - Caching Routes, (*6)

Installation

composer require "byjg/restserver"

Dependencies

flowchart TD
   byjg/restserver --> byjg/serializer
   byjg/restserver --> byjg/singleton-pattern
   byjg/restserver --> nikikc/fast-route
   byjg/restserver --> filp/whoops
   byjg/restserver --> byjg/cache-engine
   byjg/restserver --> byjg/webrequest
   byjg/restserver --> byjg/jwt-wrapper
   byjg/restserver --> ext-json

Open source ByJG, (*7)

The Versions

13/03 2018

dev-master

9999999-dev

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.

  Sources   Download

MIT

The Requires

 

The Development Requires

by João Gilberto Magalhães

30/01 2018

3.0.0

3.0.0.0

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.

  Sources   Download

MIT

The Requires

 

The Development Requires

by João Gilberto Magalhães

30/01 2018

3.0.x-dev

3.0.9999999.9999999-dev

Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.

  Sources   Download

MIT

The Requires

 

The Development Requires

by João Gilberto Magalhães

26/12 2017

2.1.3

2.1.3.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

The Development Requires

by João Gilberto Magalhães

19/10 2017

2.1.2

2.1.2.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

15/10 2017

2.1.1

2.1.1.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

10/08 2017

2.1.0

2.1.0.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

09/05 2017

2.1.x-dev

2.1.9999999.9999999-dev

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

14/09 2016

2.0.2

2.0.2.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

01/09 2016

2.0.1

2.0.1.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

12/05 2016

2.0.0

2.0.0.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

08/03 2016

1.1.1

1.1.1.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

20/01 2016

1.1.0

1.1.0.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

19/01 2016

1.0.2

1.0.2.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

24/09 2015

1.0.1

1.0.1.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães

02/08 2015

1.0.0

1.0.0.0

Enable to create RESTFull services with strong model schema. The main goal is to abstract the class transformation into JSON/XML and encapsulate the server commands.

  Sources   Download

MIT

The Requires

 

by João Gilberto Magalhães