weew/echo-server 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

weew/echo-server

Composer 安装命令:

composer require weew/echo-server

包简介

A very simple echo server.

README 文档

README

Build Status Code Quality Test Coverage Dependencies Version Licence

Table of contents

Installation

composer require weew/echo-server

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.

Example

You can see it in action at http://echo.maxim.io

{
    "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": ""
}

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固