{"id":18696167,"url":"https://github.com/defstudio/telegraph","last_synced_at":"2026-04-29T21:06:59.876Z","repository":{"id":37040957,"uuid":"429853818","full_name":"defstudio/telegraph","owner":"defstudio","description":"Telegraph is a Laravel package for fluently interacting with Telegram Bots","archived":false,"fork":false,"pushed_at":"2026-04-14T13:35:51.000Z","size":145011,"stargazers_count":815,"open_issues_count":9,"forks_count":142,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-04-14T15:29:27.787Z","etag":null,"topics":["api","bot","laravel","php","sdk","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defstudio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["fabio-ivona","defstudio"],"custom":["https://paypal.me/defstudiosrl"]}},"created_at":"2021-11-19T15:54:18.000Z","updated_at":"2026-04-11T01:56:49.000Z","dependencies_parsed_at":"2022-07-10T15:00:20.807Z","dependency_job_id":"9b7b1adf-4628-494e-a5a3-00f7129b33ec","html_url":"https://github.com/defstudio/telegraph","commit_stats":{"total_commits":605,"total_committers":36,"mean_commits":"16.805555555555557","dds":"0.44628099173553715","last_synced_commit":"f83baf1cee2b32610cc28a7bf4160c823c655032"},"previous_names":[],"tags_count":176,"template":false,"template_full_name":"spatie/package-skeleton-laravel","purl":"pkg:github/defstudio/telegraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defstudio%2Ftelegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defstudio%2Ftelegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defstudio%2Ftelegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defstudio%2Ftelegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defstudio","download_url":"https://codeload.github.com/defstudio/telegraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defstudio%2Ftelegraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","bot","laravel","php","sdk","telegram","telegram-bot"],"created_at":"2024-11-07T11:17:24.224Z","updated_at":"2026-04-29T21:06:59.871Z","avatar_url":"https://github.com/defstudio.png","language":"PHP","funding_links":["https://github.com/sponsors/fabio-ivona","https://github.com/sponsors/defstudio","https://paypal.me/defstudiosrl"],"categories":[],"sub_categories":[],"readme":"![Pest Laravel Expectations](https://banners.beyondco.de/Laravel%20Telegraph.png?theme=light\u0026packageManager=composer+require\u0026packageName=defstudio%2Ftelegraph\u0026pattern=architect\u0026style=style_1\u0026description=Telegram+bots+made+easy\u0026md=1\u0026showWatermark=1\u0026fontSize=100px\u0026images=phone-outgoing)\n\n\u003ca href=\"https://packagist.org/packages/defstudio/telegraph\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/packagist/v/defstudio/telegraph.svg?style=flat\u0026cacheSeconds=3600\" alt=\"Latest Version on Packagist\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/defstudio/telegraph/actions?query=workflow%3Arun-tests+branch%3Amain\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/github/actions/workflow/status/defstudio/telegraph/run-tests.yml?branch=main\u0026label=tests\u0026cacheSeconds=3600\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAABiVBMVEUAAAD/iPv9yP3Xm+j/mP//wfVj67Je6bP/h/pVx6p6175d57WQycf+iPn/iPrsnezArd3+t/qpvNJd6LP/jPpu6rv/lPr/kPpc57T/rvtc57Np6rj3oPl37cL/tfn/wv9d6brX//L/g/rYn+n/gvrWm+di6LX+jPrskfGWzMpt6bln4bdd57Jk6LWSycj+vPquwNVo6rde6bP7nvvYnup91b/+vfv/lvtc57OqvNTFs9//t/td57L9t/r/iPpd6LPapej/ovp26bxy67v9lfld6LJr4Ljwsvb/xv3/jv39zv1t6buG5cTDreH5ivlc5rJy676V4cxb57D/y/h50MOy4OCUxcVa77X/iPpe6LP/jP+pu9L8t///tvuQycfArNxp6LzArd151r7/i/9n4bb/j/9e6rT/ifr7ifrskvLYnuhi87tg8blg7bf/vv//lP+wxNtj9b3/qv//oP/+ivz/l/r8ifryn/fvlPTfpPDeofDKtujHtOWX1NF/4seC3cR82sFu7cBo5LiMwPMrAAAAWHRSTlMA/Wv8FAIC/dME/Wj+3tEG/Pv798G1oHRjS0k1LBsWDgsJ/v36+fTy8ezn4+Lh29XNzMzLysLAwLSwr66opJqakY+Ni4J7end0bGlpY11XU048KicmIR8fizl+vwAAAVdJREFUKM9tz2VXAlEQgOFBBURpkE67u7u7E1YFYQl1SbvrlztDiLvss+fc/fCemXMvAEhhKqU759P1rLoxUDUyEh9fPH0z7ALiVrEY+SSNtxNS2upouYv7hOL191aKVsZHUTgbnQPQgDkq4ctHdoQmTWmW4WFzlVUDVpNKXf2fWpWbZIwUq/hcmjWGYnSa1pZZjEoomrEdVAisD7CX6GEb40rqTODxCj21OjDOvjRV8l2jhudBDchg/FUbDIZCITzwQyH6a9+2AMDbm9GfltFnxgAdtQWUgQJl4VQq37uPcSnsfYZzav6Ew18fQ4fUYPM7Qn4uSiIdyx5saJ6T+/3+5KSltshicwI2UpfAKE/aoARTvnn7KMYMdlAUyWRSyHN2JeU42HlCi4TszTHcmuj3iMVdP5JzoyAWNzi6T3ZGrMFCliK3BAqRSC/B2+6IxvYYNcO+2Npfv+yFi10LfBUAAAAASUVORK5CYII=\" alt=\"Tests\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/defstudio/telegraph/actions?query=workflow%3Alint+branch%3Amain\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/github/actions/workflow/status/defstudio/telegraph/php-cs-fixer.yml?branch=main\u0026label=code%20style\u0026cacheSeconds=3600\" alt=\"Code Style\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/defstudio/telegraph/actions?query=workflow%3Aphpstan+branch%3Amain\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/github/actions/workflow/status/defstudio/telegraph/phpstan.yml?branch=main\u0026label=phpstan\u0026cacheSeconds=3600\" alt=\"Static Analysis\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/defstudio/telegraph\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/packagist/dt/defstudio/telegraph.svg?style=flat\u0026cacheSeconds=3600\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/defstudio/telegraph\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" src=\"https://img.shields.io/packagist/l/defstudio/telegraph?style=flat\u0026cacheSeconds=3600\" alt=\"License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/FabioIvona?ref_src=twsrc%5Etfw\" target=\"_blank\"\u003e\u003cimg style=\"display: inline-block; margin-top: 0.5em; margin-bottom: 0.5em\" alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/follow/FabioIvona?label=Follow\u0026style=social\"\u003e\u003c/a\u003e\n\n---\n\n\n**Telegraph** is a Laravel package for fluently interacting with Telegram Bots made by [def:studio](https://twitter.com/FabioIvona)\n\n```php\nTelegraph::message('hello world')\n    -\u003ekeyboard(Keyboard::make()-\u003ebuttons([\n            Button::make('Delete')-\u003eaction('delete')-\u003eparam('id', '42'),\n            Button::make('open')-\u003eurl('https://test.it'),\n    ]))-\u003esend();\n```\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require defstudio/telegraph\n```\n\nPublish and launch required migrations:\n\n```bash\nphp artisan vendor:publish --tag=\"telegraph-migrations\"\n```\n\n```bash\nphp artisan migrate\n```\n\nOptionally, you can publish the config and translation file with:\n```bash\nphp artisan vendor:publish --tag=\"telegraph-config\"\n```\n```bash\nphp artisan vendor:publish --tag=\"telegraph-translations\"\n```\n\n## Usage \u0026 Documentation\n\nAfter a new bot is created and added to a chat/group/channel (as described [in our documentation](https://docs.defstudio.it/telegraph/v1/quickstart/new-bot)),\nthe `Telegraph` facade can be used to easily send messages and interact with it:\n\n```php\nTelegraph::message('this is great')-\u003esend();\n```\n\nAn extensive documentation is available at\n\nhttps://docs.defstudio.it/telegraph\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. [Follow Us](https://twitter.com/FabioIvona) on Twitter for more updates about this package.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Fabio Ivona](https://github.com/defstudio)\n- [def:studio team](https://github.com/defstudio)\n- [Andrea Marco Sartori](https://github.com/cerbero90) for his cool ideas\n- [Alberto Pieripolli](https://github.com/trippo) Pest badge\n- [Joris Drenth](https://github.com/jorisdrenth) Docs fix and upgrade\n- [All Contributors](../../contributors)\n\n## Translators\n\n- [Tievo](https://github.com/Tievodj) Spanish\n- [Andrey Helldar](https://github.com/andrey-helldar) Russian\n- [Joris Drenth](https://github.com/jorisdrenth) Dutch\n- [Moayed Alhagy](https://github.com/moayedalhagy) Arabic\n- [Rafael](https://github.com/rjmo) Portuguese\n- [Sadegh Barzegar](https://github.com/sadegh19b) Persian\n- [Furkan Akkoc](https://github.com/frknakk) German\n\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefstudio%2Ftelegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefstudio%2Ftelegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefstudio%2Ftelegraph/lists"}