Skip to content

Commit db1759c

Browse files
authored
Merge pull request #29 from timeweb/doc-readme-install
Add installation info with phpstan/extension-installer
2 parents 8d9870f + 945dca5 commit db1759c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ To use this extension, require it with [Composer](https://getcomposer.org)
1616
composer require --dev timeweb/phpstan-enum
1717
```
1818

19-
And include extension.neon in your project's PHPStan config
19+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
2020

21-
```yaml
21+
### Manual installation
22+
23+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
24+
25+
```neon
2226
includes:
2327
- vendor/timeweb/phpstan-enum/extension.neon
2428
```

0 commit comments

Comments
 (0)