2017 © Pedro Peláez
 

library echo-server

A very simple echo server.

image

weew/echo-server

A very simple echo server.

  • Thursday, July 21, 2016
  • by weew
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Echo Server

Build Status Code Quality Test Coverage Dependencies Version Licence, (*1)

Table of contents

Installation

composer require weew/echo-server, (*2)

Introduction

The echo server will always return a serialized version of the incoming request. It is meant to be used as an endpoint for your API tests., (*3)

Example

You can see it in action at http://echo.maxim.io, (*4)

{
    "protocol": "HTTP",
    "version": "1.1",
    "method": "GET",
    "url": {
        "protocol": "http",
        "tld": "io",
        "domain": "maxim",
        "subdomain": "echo",
        "host": "echo.maxim.io",
        "port": null,
        "path": "/foo",
        "query": {
            "bar": "baz"
        },
        "username": null,
        "password": null,
        "fragment": null,
        "full": "http://echo.maxim.io/foo?bar=baz"
    },
    "headers": {
        "host": ["echo.maxim.io"],
        "connection": ["keep-alive"],
        "accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],
        "upgrade-insecure-requests": ["1"],
        "user-agent": ["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"],
        "accept-encoding": ["gzip, deflate, sdch"],
        "accept-language": ["en-US,en;q=0.8,de;q=0.6,fr;q=0.4,ru;q=0.2,uk;q=0.2,nb;q=0.2"],
        "content-type": [""],
        "content-length": [""]
    },
    "data": [],
    "query": {
        "bar": "baz"
    },
    "cookies": [],
    "content": ""
}

The Versions

21/07 2016

dev-master

9999999-dev

A very simple echo server.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

21/07 2016

v1.2.1

1.2.1.0

A very simple echo server.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Kott

18/05 2016

v1.2.0

1.2.0.0

A very simple echo server.

  Sources   Download

MIT

The Requires

  • weew/php-http ^1.9
  • weew/php-helpers-file ^1.2

 

The Development Requires

by Maxim Kott

18/05 2016

v1.1.0

1.1.0.0

A very simple echo server.

  Sources   Download

MIT

The Requires

  • weew/php-http ^1.9
  • weew/php-helpers-file ^1.2

 

The Development Requires

by Maxim Kott

16/11 2015

v1.0.0

1.0.0.0

A very simple echo server.

  Sources   Download

MIT

The Requires

  • weew/php-http ^1.0.0

 

The Development Requires

by Maxim Kott

26/08 2015

v0.0.1

0.0.1.0

A very simple echo server.

  Sources   Download

MIT

The Requires

  • weew/php-http 0.*

 

The Development Requires

by Maxim Kott