First commit

This commit is contained in:
Artem Vasilev 2024-02-29 21:46:13 +03:00
commit b402b89b0c
5 changed files with 921 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.idea
vendor
tmp

1
README.md Normal file
View File

@ -0,0 +1 @@
# tbc-get-id

37
composer.json Normal file
View File

@ -0,0 +1,37 @@
{
"name": "webmasterskaya/tbc-get-id",
"type": "library",
"description": "Telegram bot command for getting id of users and channels",
"keywords": [
"telegram",
"bot",
"php",
"php telegram bot",
"user id",
"channel id"
],
"minimum-stability": "stable",
"license": "MIT",
"homepage": "https://git.webmasterskaya.xyz/tbc/tbc-get-id",
"support": {
"issues": "https://git.webmasterskaya.xyz/tbc/tbc-get-id/issues",
"source": "https://git.webmasterskaya.xyz/tbc/tbc-get-id"
},
"authors": [
{
"name": "Artem Vasilev aka kernusr",
"email": "kern.usr@gmail.com",
"homepage": "https://webmasterskaya.xyz/",
"role": "Developer"
}
],
"require": {
"php": "^7.3|^8.0",
"longman/telegram-bot": "^0.82.0"
},
"autoload": {
"psr-4": {
"Webmasterskaya\\TelegramBotCommands\\": "src/"
}
}
}

853
composer.lock generated Normal file
View File

@ -0,0 +1,853 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6931a9bfc568fb470d94cb0ca015750b",
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.8.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104",
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5.3 || ^2.0.1",
"guzzlehttp/psr7": "^1.9.1 || ^2.5.1",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
},
"provide": {
"psr/http-client-implementation": "1.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"ext-curl": "*",
"php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
"php-http/message-factory": "^1.1",
"phpunit/phpunit": "^8.5.36 || ^9.6.15",
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"suggest": {
"ext-curl": "Required for CURL handler support",
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
},
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"GuzzleHttp\\": "src/"