Skip to content

Commit ff087ee

Browse files
authored
Merge pull request #6 from reactphp-parallel/1.x-documentation
Documentation
2 parents 1230bca + d211fae commit ff087ee

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
# Stubs (for PHPstan)
1+
# Stubs (for PHPstan)\
2+
3+
[![Continuous Integration](https://github.com/reactphp-parallel/stubs/actions/workflows/ci.yml/badge.svg)](https://github.com/reactphp-parallel/stubs/actions)
4+
[![Latest Stable Version](https://poser.pugx.org/react-parallel/stubs/v/stable)](https://packagist.org/packages/react-parallel/stubs)
5+
[![License](https://poser.pugx.org/react-parallel/stubs/license)](https://packagist.org/packages/react-parallel/stubs)
6+
7+
* [PHPStan](https://phpstan.org/)
8+
* [ext-parallel](https://github.com/krakjoe/parallel)
9+
10+
## Installation
11+
12+
To use this extension, require it in [Composer](https://getcomposer.org/):
13+
14+
```
15+
composer require --dev react-parallel/stubs
16+
```
17+
18+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
19+
20+
<details>
21+
<summary>Manual installation</summary>
22+
23+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
24+
25+
```
26+
includes:
27+
- vendor/react-parallel/stubs/extension.neon
28+
```
29+
30+
</details>

0 commit comments

Comments
 (0)