From 72ab40413a201d0eee8e131336914d7a6137e610 Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Mon, 24 Dec 2018 15:34:04 +0300 Subject: [PATCH] Add composer.json and .gitignore --- .gitignore | 10 ++++++++++ composer.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95935a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +vendor +.idea +.vscode +nbproject +.env +.phpunit.result.cache +*.madeline +*.madeline.lock +composer.phar +composer.lock \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..66e5fe3 --- /dev/null +++ b/composer.json @@ -0,0 +1,32 @@ +{ + "name": "xtrime-ru/telegramswooleclient", + "description": "Fast async php telegram client: MadelineProto + Swoole Server", + "type": "project", + "homepage": "http://tg.i-c-a.su/", + "license": "MIT", + "keywords": ["telegram", "mtproto", "protocol", "client", "PHP", "swoole", "async", "demon"], + "require": { + "php": ">=7.2.0", + "danog/madelineproto": "dev-master", + "vlucas/phpdotenv": "^2.4", + "ext-swoole": ">=4.0" + }, + "repositories": [ + { + "type": "git", + "url": "https://github.com/danog/phpseclib" + } + ], + "minimum-stability": "dev", + "authors": [ + { + "name": "Alexander Pankratov", + "email": "s.pankratoff@gmail.com" + } + ], + "autoload": { + "psr-0": { + "xtrime-ru\\TelegramSwooleClient\\": "src/" + } + } +} \ No newline at end of file