Skip to content

Commit 0e53389

Browse files
committed
Update readme for composer, defining which version is required for <PHP7 and PHP7+.
[skip ci]
1 parent 95e71b6 commit 0e53389

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ Installation and usage is pretty straight forward:
1717

1818
### Require this package with [Composer](https://getcomposer.org/)
1919

20+
- For PHP <7 we need version 0.1.*
21+
- For PHP 7+ we need version 0.2.*
22+
2023
Either run this command in your command line:
2124

2225
```
23-
composer require noplanman/telegram-bot-manager
26+
composer require noplanman/telegram-bot-manager:^0.2
2427
```
2528

2629
**or**
@@ -29,7 +32,7 @@ For existing Composer projects, edit your project's `composer.json` file to requ
2932

3033
```js
3134
"require": {
32-
"noplanman/telegram-bot-manager": "*"
35+
"noplanman/telegram-bot-manager": "^0.2"
3336
}
3437
```
3538
and then run `composer update`

0 commit comments

Comments
 (0)