Skip to content

Commit a6a9eef

Browse files
committed
Adding section Updating
1 parent 3522b80 commit a6a9eef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ while (true) {
5050
}
5151
```
5252

53+
## Updating
54+
To update phgram to the lastest version, run this command in shell:
55+
`wget https://raw.githubusercontent.com/usernein/phgram/master/phgram.phar`
56+
57+
Or run this php snippet:
58+
`copy('https://raw.githubusercontent.com/usernein/phgram/master/phgram.phar', 'phgram.phar');`
59+
5360
## BotAPI Methods
5461
phgram supports all methods and types described on the [official docs](https://core.telegram.org/bots/api).
5562
Just call any BotAPI method as a \phgram\Bot class method:

0 commit comments

Comments
 (0)