Added instructions for dependency installation in the docs, trying to fix composer

This commit is contained in:
Daniil Gentili 2016-11-24 23:40:19 +00:00
parent a660bb4c68
commit 1dca7843a9
3 changed files with 14 additions and 4 deletions

View File

@ -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
```

View File

@ -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": {

4
composer.lock generated
View File

@ -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",