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"