mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 23:26:56 +01:00
25 lines
483 B
Markdown
25 lines
483 B
Markdown
# Composer
|
|
|
|
Once you have all the requirements installed properly (on dev as well as production), add this to the ```composer.json``` file:
|
|
|
|
```
|
|
"repositories": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/danog/phpseclib"
|
|
}
|
|
],
|
|
```
|
|
|
|
Make sure you also have these set in the composer.json:
|
|
|
|
```
|
|
"minimum-stability": "dev",
|
|
```
|
|
|
|
Then you can require the package by addding the following line to the require section:
|
|
|
|
```
|
|
"danog/madelineproto":"dev-master"
|
|
```
|