{"id":16912192,"url":"https://github.com/noplanman/service-webhook-handler","last_synced_at":"2026-02-25T00:32:18.803Z","repository":{"id":86547014,"uuid":"88121625","full_name":"noplanman/service-webhook-handler","owner":"noplanman","description":"PHP library to handle Webhooks from various services.","archived":false,"fork":false,"pushed_at":"2018-10-11T06:43:03.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T01:43:48.048Z","etag":null,"topics":["github","handler","telegram","telegram-login","travis-ci","webhook"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/noplanman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-04-13T03:33:48.000Z","updated_at":"2024-04-24T09:20:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab3c3805-d1e4-4eca-862e-cd3d015cc146","html_url":"https://github.com/noplanman/service-webhook-handler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/noplanman/service-webhook-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noplanman%2Fservice-webhook-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noplanman%2Fservice-webhook-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noplanman%2Fservice-webhook-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noplanman%2Fservice-webhook-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noplanman","download_url":"https://codeload.github.com/noplanman/service-webhook-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noplanman%2Fservice-webhook-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29806428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T22:43:48.403Z","status":"ssl_error","status_checked_at":"2026-02-24T22:43:18.536Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["github","handler","telegram","telegram-login","travis-ci","webhook"],"created_at":"2024-10-13T19:08:53.055Z","updated_at":"2026-02-25T00:32:18.783Z","avatar_url":"https://github.com/noplanman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Service Webhook Handler][github-swh]\n\n[![Minimum PHP Version][min-php-version-badge]][packagist-swh]\n[![Latest Stable Version][latest-version-badge]][packagist-swh]\n[![Total Downloads][total-downloads-badge]][packagist-swh]\n[![License][license-badge]][license]\n\nPHP library to handle Webhooks from various services.\n\n## Installation\n\nInstallation is pretty straightforward:\n\n### Require this package with [Composer][composer]\n\nEither run this command in your command line:\n\n```bash\ncomposer require noplanman/service-webhook-handler\n```\n\n**or**\n\nFor existing Composer projects, edit your project's `composer.json` file to require `noplanman/service-webhook-handler`:\n\n```yaml\n\"require\": {\n    \"noplanman/service-webhook-handler\": \"^0.2\"\n}\n```\nand then run `composer update`\n\n## Usage\n\nVery basic functionality provided so far for:\n\n### GitHub\n[Docs][github-webhook-docs] - [`GitHubHandler.php`][github-handler-php]\n```php\nuse NPM\\ServiceWebhookHandler\\Handlers\\GitHubHandler;\n\n$handler = new GitHubHandler('webhook_secret');\nif ($handler-\u003evalidate()) {\n    // All good, use the received data!\n    $data = $handler-\u003egetData();\n}\n```\n\n### Travis CI\n[Docs][travis-ci-webhook-docs] - [`TravisCIHandler.php`][travis-ci-handler-php]\n```php\nuse NPM\\ServiceWebhookHandler\\Handlers\\TravisCIHandler;\n\n$handler = new TravisCIHandler();\nif ($handler-\u003evalidate()) {\n    // All good, use the received data!\n    $data = $handler-\u003egetData();\n}\n```\n\n### Telegram Login\n[Docs][telegram-login-webhook-docs] - [`TelegramLoginHandler.php`][telegram-login-handler-php]\n```php\nuse NPM\\ServiceWebhookHandler\\Handlers\\TelegramLoginHandler;\n\n$handler = new TelegramLoginHandler('123:BOT_API_KEY');\nif ($handler-\u003evalidate(json_encode($_GET))) {\n    // All good, use the received data!\n    $data = $handler-\u003egetData();\n}\n```\n\n[github-swh]: https://github.com/noplanman/service-webhook-handler \"Service Webhook Handler on GitHub\"\n[packagist-swh]: https://packagist.org/packages/noplanman/service-webhook-handler \"Service Webhook Handler on Packagist\"\n[license]: https://github.com/noplanman/service-webhook-handler/blob/master/LICENSE \"Service Webhook Handler license\"\n\n[latest-version-badge]: https://img.shields.io/packagist/v/noplanman/service-webhook-handler.svg\n[min-php-version-badge]: https://img.shields.io/packagist/php-v/noplanman/service-webhook-handler.svg\n[total-downloads-badge]: https://img.shields.io/packagist/dt/noplanman/service-webhook-handler.svg\n[license-badge]: https://img.shields.io/packagist/l/noplanman/service-webhook-handler.svg\n[composer]: https://getcomposer.org/ \"Composer\"\n\n[github-webhook-docs]: https://developer.github.com/webhooks/\n[github-handler-php]: https://github.com/noplanman/service-webhook-handler/blob/master/src/Handlers/GitHubHandler.php\n[travis-ci-webhook-docs]: https://docs.travis-ci.com/user/notifications/#Configuring-webhook-notifications\n[travis-ci-handler-php]: https://github.com/noplanman/service-webhook-handler/blob/master/src/Handlers/TravisCIHandler.php\n[telegram-login-webhook-docs]: https://core.telegram.org/widgets/login\n[telegram-login-handler-php]: https://github.com/noplanman/service-webhook-handler/blob/master/src/Handlers/TelegramLoginHandler.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoplanman%2Fservice-webhook-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoplanman%2Fservice-webhook-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoplanman%2Fservice-webhook-handler/lists"}