PHPackages                             yonna/response - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yonna/response

ActiveLibrary[Framework](/categories/framework)

yonna/response
==============

Yonna 响应处理

1.0(6y ago)0171MITPHPPHP ~7.3

Since May 15Pushed 6y agoCompare

[ Source](https://github.com/yonna-framework/response)[ Packagist](https://packagist.org/packages/yonna/response)[ RSS](/packages/yonna-response/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

[![License](https://camo.githubusercontent.com/84292bc2b4f2d379bcd4b2d2a8dd13a95ba151a685ab298cb156936f339b1cba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f796f6e6e612d6672616d65776f726b2f726573706f6e73652e737667)](https://packagist.org/packages/yonna/response)[![Repo Size](https://camo.githubusercontent.com/d4926d53540975e1de2a0419aadc3c150fb1b14c87d37421c479759351292881/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f796f6e6e612d6672616d65776f726b2f726573706f6e73652e737667)](https://packagist.org/packages/yonna/response)[![Downloads](https://camo.githubusercontent.com/988fe31ea1d280709986e415b8282668864b5511a4d7b1f4f9ba3bb9aec75606/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f796f6e6e612f726573706f6e73652e737667)](https://packagist.org/packages/yonna/response)[![Version](https://camo.githubusercontent.com/22f409a7769fd48e326116d90d6df3ba7e72d37e39017bac33f0a5d6491bf781/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f796f6e6e612d6672616d65776f726b2f726573706f6e73652e737667)](https://packagist.org/packages/yonna/response)[![Php](https://camo.githubusercontent.com/804d2865d230462426c5b6a10cdd65a069dc24043aeae91101ac2b3c6cef8b1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f796f6e6e612f726573706f6e73652e737667)](https://packagist.org/packages/yonna/response)

Yonna response库
---------------

[](#yonna-response库)

```
Response是一个响应组件
根据Conllector可以为你提供一系列的数据格式组装
支持 json xml text html array 等数据格式

```

#### 如何安装

[](#如何安装)

##### 可以通过composer安装：`composer require yonna/response`

[](#可以通过composer安装composer-require-yonnaresponse)

##### 可以通过git下载：`git clone https://github.com/yonna-framework/response.git`

[](#可以通过git下载git-clone-httpsgithubcomyonna-frameworkresponsegit)

> Yonna demo：[GOTO yonna](https://github.com/yonna-framework/yonna)

### Example

[](#example)

```
