PHPackages                             friendsofhyperf/pest-plugin-hyperf - 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. friendsofhyperf/pest-plugin-hyperf

AbandonedArchivedLibrary[Framework](/categories/framework)

friendsofhyperf/pest-plugin-hyperf
==================================

The Pest Hyperf Plugin.

v3.1.48(1y ago)46.3k↓50%1MITPHPPHP ^8.1

Since Jun 16Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/friendsofhyperf/pest-plugin-hyperf)[ Packagist](https://packagist.org/packages/friendsofhyperf/pest-plugin-hyperf)[ Fund](https://hdj.me/sponsors/)[ GitHub Sponsors](https://github.com/huangdijia)[ RSS](/packages/friendsofhyperf-pest-plugin-hyperf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (29)Used By (0)

pest-plugin-hyperf
==================

[](#pest-plugin-hyperf)

[![Latest Stable Version](https://camo.githubusercontent.com/002b84d8dd2fecd7a501b377987b8b9993e49f22ea1482279fd1eb0b4d8d4f03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269656e64736f666879706572662f706573742d706c7567696e2d687970657266)](https://packagist.org/packages/friendsofhyperf/pest-plugin-hyperf)[![Total Downloads](https://camo.githubusercontent.com/8e53b9b74a9d598bd3e85f73c547976b664deaf22b9ad856bc7ef9b9e3d5e7fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269656e64736f666879706572662f706573742d706c7567696e2d687970657266)](https://packagist.org/packages/friendsofhyperf/pest-plugin-hyperf)[![License](https://camo.githubusercontent.com/63e1a6cd02ffb33bc23214655fb967a7f0a4e26fe51a64092b63a74726f47be3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f667269656e64736f666879706572662f706573742d706c7567696e2d687970657266)](https://github.com/friendsofhyperf/pest-plugin-hyperf)

> This is a [Pest](https://pestphp.com) plugin that enables your Hyperf project's Pest to run within a Swoole-based coroutine environment.

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

[](#installation)

```
composer require friendsofhyperf/pest-plugin-hyperf --dev
```

Usage
-----

[](#usage)

```
php vendor/bin/pest --coroutine
# or
php vendor/bin/pest --prepend test/prepend.php --coroutine
```

- test/prepend.php

```
