Skip to content

Commit d638635

Browse files
committed
Installation instructions
1 parent b61a7a8 commit d638635

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,24 @@ This extension specifies types of values passed to:
3434

3535
`Assert\that`, `Assert\thatNullOr` and `Assert\thatAll` functions are supported too.
3636

37-
## Usage
37+
38+
## Installation
3839

3940
To use this extension, require it in [Composer](https://getcomposer.org/):
4041

41-
```bash
42+
```
4243
composer require --dev phpstan/phpstan-beberlei-assert
4344
```
4445

45-
And include extension.neon in your project's PHPStan config:
46+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
47+
48+
<details>
49+
<summary>Manual installation</summary>
50+
51+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
4652

4753
```
4854
includes:
49-
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
55+
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
5056
```
57+
</details>

0 commit comments

Comments
 (0)