{"id":17936954,"url":"https://github.com/tiagosampaio/telegram-bot-php","last_synced_at":"2025-04-03T11:32:34.335Z","repository":{"id":57069395,"uuid":"160511043","full_name":"tiagosampaio/telegram-bot-php","owner":"tiagosampaio","description":"Create powerful app integrations with this Telegram Bot SDK. It's as easy as incredible!!","archived":false,"fork":false,"pushed_at":"2019-06-19T19:36:19.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T00:49:32.681Z","etag":null,"topics":["integration","php","php-sdk","sdk","sdk-php","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-bots","telegram-php","telegram-php-sdk","telegram-sdk","telegramphp"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"osl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiagosampaio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-05T11:53:56.000Z","updated_at":"2019-06-19T19:35:00.000Z","dependencies_parsed_at":"2022-08-24T10:20:40.875Z","dependency_job_id":null,"html_url":"https://github.com/tiagosampaio/telegram-bot-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosampaio%2Ftelegram-bot-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosampaio%2Ftelegram-bot-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosampaio%2Ftelegram-bot-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosampaio%2Ftelegram-bot-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagosampaio","download_url":"https://codeload.github.com/tiagosampaio/telegram-bot-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246992887,"owners_count":20865900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["integration","php","php-sdk","sdk","sdk-php","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-bots","telegram-php","telegram-php-sdk","telegram-sdk","telegramphp"],"created_at":"2024-10-28T22:05:37.811Z","updated_at":"2025-04-03T11:32:34.302Z","avatar_url":"https://github.com/tiagosampaio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"/assets/images/telegram.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/tiagosampaio/Telegram-Bot-PHP\"\u003e\n        \u003cimg src=\"https://travis-ci.org/tiagosampaio/Telegram-Bot-PHP.svg?branch=master\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com/app/tiagoosampaio/Telegram-Bot-PHP?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=tiagosampaio/Telegram-Bot-PHP\u0026amp;utm_campaign=Badge_Grade\"\u003e\n        \u003cimg src=\"https://api.codacy.com/project/badge/Grade/f2d11df6b0824cb98fbd7bac12b61182\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codetriage.com/tiagosampaio/telegram-bot-php\"\u003e\n        \u003cimg src=\"https://www.codetriage.com/tiagosampaio/telegram-bot-php/badges/users.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/tiagosampaio/telegram-bot-php\"\u003e\n        \u003cimg src=\"https://poser.pugx.org/tiagosampaio/telegram-bot-php/d/total.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/tiagosampaio/telegram-bot-php\"\u003e\n        \u003cimg src=\"https://poser.pugx.org/tiagosampaio/telegram-bot-php/license.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/tiagosampaio/telegram-bot-php\"\u003e\n        \u003cimg src=\"https://poser.pugx.org/tiagosampaio/telegram-bot-php/v/stable\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# Telegram Bot PHP\n\n#### The easiest way to integrate your PHP application with Telegram Bots.\n\nCreate powerful app integrations with this Telegram Bot SDK. It's as easy as incredible!!\n\nSee an example of how easy it is to use:\n\n```php\n\u003c?php\n    /**\n     * Inject the composer's autoload file.\n     */\n    require_once __DIR__ . '/vendor/autoload.php';\n\n    /**\n     * Assuming you already have the token created using the BotFather.\n     */\n    $token = '[SOME TOKEN HASH]';\n    \n    /**\n     * And that you have the chat ID too, you can simply define the text you'd like to send, for instance.\n     */\n    $chatId = [SOME CHAT ID];\n    $text   = \\Faker\\Factory::create()-\u003esentence(20);\n\n    /**\n     * Create and instance of the API by using the ApiFactory.\n     * @var \\Telegram\\ApiInterface $api\n     */\n    $api = \\Telegram\\ApiFactory::create($token);\n    \n    /**\n     * And call the proper method.\n     * @var \\Telegram\\Service\\ResultInterface $response\n     */\n    $response = $api-\u003emethods()-\u003esendMessage($chatId, $text);\n```\n\n## Telegram BotFather\n\nThis link to [BotFather](https://telegram.me/BotFather) will guide you to create your Telegram Bot.\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://telegram.me/BotFather\" target=\"_blank\" title=\"Telegram BotFather\"\u003e\u003cimg src=\"/assets/images/botfather.jpg\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Authors\n\nTiago Sampaio - [tiago@tiagosampaio.com](mailto:tiago@tiagosampaio.com)\n\n## License\n\u003e Telegram Bot PHP is a personal project initiated in late 2018 by Tiago Sampaio. It's free for use.\n\n[The Open Software License 3.0 (OSL-3.0)](https://opensource.org/licenses/osl-3.0.php).\n\nPelase, see the file LICENSE.txt to a complete description of the OSL License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagosampaio%2Ftelegram-bot-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagosampaio%2Ftelegram-bot-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagosampaio%2Ftelegram-bot-php/lists"}