Skip to content

Commit 08007a5

Browse files
committed
Explain manual installation
1 parent 841739f commit 08007a5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,22 @@
1010

1111
## Installation
1212

13-
```command
14-
$ composer require --dev ticketswap/phpstan-error-formatter
13+
To use this extension, require it in [Composer](https://getcomposer.org/):
14+
15+
```bash
16+
composer require --dev ticketswap/phpstan-error-formatter
17+
```
18+
19+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
20+
21+
<details>
22+
<summary>Manual installation</summary>
23+
24+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
25+
26+
```neon
27+
includes:
28+
- vendor/ticketswap/phpstan-error-formatter/extension.neon
1529
```
1630

1731
## Usage

0 commit comments

Comments
 (0)