2017 © Pedro Peláez
 

library response-builder

HTTP Response Builder

image

wotek/response-builder

HTTP Response Builder

  • Friday, January 13, 2017
  • by wotek
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,272 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Response Builder

Build Status Coverage Status, (*1)

Let's say, you're building an API for you application. You need to: * Return responses in few formats * Want to have ability to version reponse body schema * have ability to version reponse headers schema * have simple Response Factory API and use predefined responses, (*2)

Installation

Installation is fairly simple. We recommend using composer., (*3)

Use composer

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*4)

curl -s http://getcomposer.org/installer | php

After composer is installed add package running following in root dir of your project:, (*5)

# Composer will automaticaly download & install & modify your composer.json
composer require wotek/response-builder:dev-master

Clone repository

If you're not fan of composer. You can just clone repository., (*6)

# Clones repository to settings folder
git clone git@github.com:wotek/response-builder.git .

Documentation

License

The MIT License (MIT), (*7)

Copyright (c) 2014 Wojciech Zalewski, (*8)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*9)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*10)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*11)

The Versions

13/01 2017

dev-master

9999999-dev

HTTP Response Builder

  Sources   Download

MIT Licence

The Requires

 

The Development Requires

api json xml response builder response prototype

13/01 2017

0.6

0.6.0.0

HTTP Response Builder

  Sources   Download

MIT Licence

The Requires

 

The Development Requires

api json xml response builder response prototype

03/02 2014

dev-develop

dev-develop

HTTP Response Builder

  Sources   Download

MIT Licence

The Requires

 

The Development Requires

api json xml response builder response prototype

02/02 2014

0.5

0.5.0.0

HTTP Response Builder

  Sources   Download

MIT Licence

The Requires

 

The Development Requires

api json xml response builder response prototype