Add composer.json and .gitignore

This commit is contained in:
Alexander Pankratov 2018-12-24 15:34:04 +03:00
parent 3a98af13d9
commit 72ab40413a
2 changed files with 42 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
vendor
.idea
.vscode
nbproject
.env
.phpunit.result.cache
*.madeline
*.madeline.lock
composer.phar
composer.lock

32
composer.json Normal file
View File

@ -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/"
}
}
}