{"id":30140358,"url":"https://github.com/froganbee/laravel_practice","last_synced_at":"2025-08-11T03:37:00.008Z","repository":{"id":251214179,"uuid":"798841351","full_name":"FroganBee/laravel_practice","owner":"FroganBee","description":"This project is test laravel.","archived":false,"fork":false,"pushed_at":"2024-05-14T17:52:34.000Z","size":8109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T19:33:58.715Z","etag":null,"topics":["framework","laravel","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FroganBee.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-10T15:29:19.000Z","updated_at":"2024-08-09T15:09:15.000Z","dependencies_parsed_at":"2024-08-01T15:12:13.678Z","dependency_job_id":null,"html_url":"https://github.com/FroganBee/laravel_practice","commit_stats":null,"previous_names":["tonny0831/laravel_practice","max-tonny8/laravel_practice","solpr0digy/laravel_practice","froganbee/laravel_practice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FroganBee/laravel_practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroganBee%2Flaravel_practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroganBee%2Flaravel_practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroganBee%2Flaravel_practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroganBee%2Flaravel_practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FroganBee","download_url":"https://codeload.github.com/FroganBee/laravel_practice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroganBee%2Flaravel_practice/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269827162,"owners_count":24481483,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["framework","laravel","php"],"created_at":"2025-08-11T03:36:54.352Z","updated_at":"2025-08-11T03:36:59.618Z","avatar_url":"https://github.com/FroganBee.png","language":"PHP","readme":"# LaravelTelegramBot\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Total Downloads][ico-downloads]][link-downloads]\n\n## Installation\n\nInstall this package through Composer. Run this command in your project's terminal:\n\n``` bash\ncomposer require php-telegram-bot/laravel\n```\n\nExecute the following command to publish the folder structure to your Laravel application:\n```bash\nphp artisan telegram:publish\n```\nThis also includes a dummy `/start` command to give you a quick start.\n\nSince we're using the database part of php-telegram-bot you should run the migrations so the database schema gets installed:\n```bash\nphp artisan migrate\n```\n\nAnd add the following lines to your .env file:\n```dotenv\nTELEGRAM_API_TOKEN=\nTELEGRAM_BOT_USERNAME=\nTELEGRAM_API_URL=\nTELEGRAM_ADMINS=\n```\n\n`TELEGRAM_API_TOKEN` and `TELEGRAM_BOT_USERNAME` should be filled with the corresponding data from [@BotFather](https://t.me/BotFather)\n\n`TELEGRAM_API_URL` is optional and can be filled with the URL to your  [custom Bot API Server](https://core.telegram.org/bots/api#using-a-local-bot-api-server) if you want to use one.\n\n`TELEGRAM_ADMINS` is optional and a comma-separated list of Telegram User IDs that gets passed to the `enableAdmins` command of php-telegram-bot to enable admin commands for those users.\n\nAfter that you can run `php artisan telegram:set-webhook` if your development server is reachable from the outside or you're using a custom bot api server. \n\nOr `php artisan telegram:fetch` to start fetching your updates via polling.\n\n⚠️ Be aware that you have to cancel and restart the `telegram:fetch` command, if you change your code.\n\n## Usage\nFor further basic configuration of this Laravel package you do not need to create any configuration files.\n\nArtisan terminal commands for the Webhook usage (remember, that you need an HTTPS server for it):\n``` bash\n# Use this method to specify a url and receive incoming updates via an outgoing webhook\nphp artisan telegram:set-webhook\n# List of available options: \n# --d|drop-pending-updates : Drop all pending updates\n# --a|all-update-types : Explicitly allow all updates (including \"chat_member\")\n# --allowed-updates= : Define allowed updates (comma-seperated)\n\n# Use this method to remove webhook integration if you decide to switch back to getUpdates\nphp artisan telegram:delete-webhook\n# List of available options:\n# --d|drop-pending-updates : Pass to drop all pending updates\n```\nArtisan terminal commands for the Telegram getUpdates method:\n``` bash\n# Fetches Telegram updates periodically\nphp artisan telegram:fetch \n# List of available options:\n# --a|all-update-types : Explicitly allow all updates (including \"chat_member\")\n# --allowed-updates= : Define allowed updates (comma-seperated)\n```\nArtisan terminal command for Telegram Server logging out:\n``` bash\n# Sends a logout to the currently registered Telegram Server\nphp artisan telegram:logout\n```\nArtisan terminal command for closing Telegram Server:\n``` bash\n# Sends a close to the currently registered Telegram Server\nphp artisan telegram:close\n```\nArtisan terminal command for publishing Telegram command folder structure in your project:\n``` bash\n# Publishes folder structure for Telegram Commands\n# Default StartCommand class will be created\nphp artisan telegram:publish\n```\nArtisan terminal command for creating new Telegram command class in your project:\n``` bash\n# Create a new Telegram Bot Command class\n# e.g. php artisan make:telegram-command Menu --\u003e will make User command class MenuCommand \n# e.g. php artisan make:telegram-command Genericmessage --system --\u003e will make System command class GenericmessageCommand\nphp artisan make:telegram-command\n# List of available options:\n# name : Name of the Telegram Command\n# --a|admin : Generate a AdminCommand\n# --s|system : Generate a SystemCommand\n# Without admin or system option default User command will be created\n```\n\n\n\n## Credits\n\n- [Avtandil Kikabidze aka LONGMAN](https://github.com/akalongman)\n- [TiiFuchs](https://github.com/TiiFuchs)\n- [All Contributors][link-contributors]\n\n## License\n\nPlease see the [license file](license.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/php-telegram-bot/laravel.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/php-telegram-bot/laravel.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/php-telegram-bot/laravel\n[link-downloads]: https://packagist.org/packages/php-telegram-bot/laravel\n[link-contributors]: https://github.com/php-telegram-bot/laravel/contributors\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffroganbee%2Flaravel_practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffroganbee%2Flaravel_practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffroganbee%2Flaravel_practice/lists"}