Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friendsofhyperf/pest-plugin-hyperf
The Pest Hyperf Plugin.
https://github.com/friendsofhyperf/pest-plugin-hyperf
Last synced: 3 months ago
JSON representation
The Pest Hyperf Plugin.
- Host: GitHub
- URL: https://github.com/friendsofhyperf/pest-plugin-hyperf
- Owner: friendsofhyperf
- License: mit
- Created: 2023-06-14T01:30:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-23T07:42:12.000Z (6 months ago)
- Last Synced: 2024-05-23T08:33:06.539Z (6 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# pest-plugin-hyperf
[![Latest Stable Version](https://img.shields.io/packagist/v/friendsofhyperf/pest-plugin-hyperf)](https://packagist.org/packages/friendsofhyperf/pest-plugin-hyperf)
[![Total Downloads](https://img.shields.io/packagist/dt/friendsofhyperf/pest-plugin-hyperf)](https://packagist.org/packages/friendsofhyperf/pest-plugin-hyperf)
[![License](https://img.shields.io/packagist/l/friendsofhyperf/pest-plugin-hyperf)](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
```shell
composer require friendsofhyperf/pest-plugin-hyperf --dev
```## Usage
```shell
php vendor/bin/pest --coroutine
# or
php vendor/bin/pest --prepend test/prepend.php --coroutine
```- test/prepend.php
```php
get(Hyperf\Contract\ApplicationInterface::class);
})();```
## Contact
- [Twitter](https://twitter.com/huangdijia)
- [Gmail](mailto:[email protected])## License
[MIT](LICENSE)