diff --git a/README.md b/README.md index b92ddf42..509c5d59 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,17 @@ This project is in beta state. ## Usage +### Dependencies + +This project depends on [PHPStruct](https://github.com/danog/PHPStruct), [phpseclib](https://github.com/phpseclib/phpseclib), https://packagist.org/packages/paragonie/constant_time_encoding and https://packagist.org/packages/paragonie/random_compat + +To install them all simply run: +``` +composer update +``` +In the cloned repo. + + ### Instantiation ``` diff --git a/composer.json b/composer.json index a5dae227..e1dc970b 100644 --- a/composer.json +++ b/composer.json @@ -2,8 +2,7 @@ "name": "danog/madelineproto", "description": "PHP implementation of telegram's MTProto protocol.", "type": "project", - "license": "MIT", - "minimum-stability": "stable", + "license": "AGPLV3", "homepage": "https://daniil.it/MadelineProto", "keywords": ["telegram", "mtproto", "protocol", "bytes", "messenger", "client", "PHP", "video", "stickers", "audio", "files", "GB"], "require": { diff --git a/composer.lock b/composer.lock index 17e47be0..ddaff847 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "8d6fcaae1bc321e5d42b8b4749ea4266", - "content-hash": "d004c37ebd93efd29d86d09824fdd71b", + "hash": "a3550de91348f940ebab2aeeb8f21fc3", + "content-hash": "ccb8a44823601a32fc613cf58345263d", "packages": [ { "name": "danog/phpstruct",