Skip to content

Commit 4341221

Browse files
committed
Installation instructions
1 parent 1b2fd29 commit 4341221

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,23 @@
99

1010
This extension defines dynamic methods on `Dibi\Fluent` instance. They are called to build an SQL query dynamically.
1111

12-
## Usage
12+
## Installation
1313

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

1616
```
1717
composer require --dev phpstan/phpstan-dibi
1818
```
1919

20-
And include extension.neon in your project's PHPStan config:
20+
If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!
21+
22+
<details>
23+
<summary>Manual installation</summary>
24+
25+
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:
2126

2227
```
2328
includes:
24-
- vendor/phpstan/phpstan-dibi/extension.neon
29+
- vendor/phpstan/phpstan-dibi/extension.neon
2530
```
31+
</details>

0 commit comments

Comments
 (0)