PHPackages                             razonyang/swoole-unit - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. razonyang/swoole-unit

ActiveLibrary[Testing &amp; Quality](/categories/testing)

razonyang/swoole-unit
=====================

PSR-7 implementation for Swoole

1.0.0(3y ago)21001MITPHPPHP ^8.0

Since Sep 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/razonyang/swoole-unit)[ Packagist](https://packagist.org/packages/razonyang/swoole-unit)[ RSS](/packages/razonyang-swoole-unit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (1)

Swoole Unit Test Helpers
========================

[](#swoole-unit-test-helpers)

[![Latest Stable Version](https://camo.githubusercontent.com/cb32f447d1918c6cc22106e0c583b43d78045e8fba301c58bec57c2843c2a713/68747470733a2f2f706f7365722e707567782e6f72672f72617a6f6e79616e672f73776f6f6c652d756e69742f762f737461626c652e706e67)](https://packagist.org/packages/razonyang/swoole-unit)[![Total Downloads](https://camo.githubusercontent.com/5be73258d90bc0e0e2ee668b17945554020fb372c2ba2b80442cd429aa2f1845/68747470733a2f2f706f7365722e707567782e6f72672f72617a6f6e79616e672f73776f6f6c652d756e69742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/razonyang/swoole-unit)[![Build Status](https://github.com/razonyang/swoole-unit/actions/workflows/build.yml/badge.svg)](https://github.com/razonyang/swoole-unit/actions)[![Coverage Status](https://camo.githubusercontent.com/4eaa778481f4e61f9b5e183734af191a14e97afb0b0fa45b809f8b16c422e4ad/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f72617a6f6e79616e672f73776f6f6c652d756e69742f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/razonyang/swoole-unit?branch=main)[![StyleCI](https://camo.githubusercontent.com/70e0c35ad18e970962baad2266fccfcdbaf4c2ec49c5569c3caf20f85d90b1ae/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3533373738303335382f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/537780358?branch=main)

Installation
------------

[](#installation)

```
composer require razonyang/swoole-unit --prefer-dist --dev
```

Helpers
-------

[](#helpers)

### Request Builder

[](#request-builder)

The `RequestBuilder` generates `Swoole\Http\Request` instances.

```
