1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 21:26:55 +01:00
MadelineProto/docs/COMPOSER_INSTALLATION.md
2018-03-12 21:10:49 +00:00

483 B

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"