{"id":15375288,"url":"https://github.com/sy-records/webhooks","last_synced_at":"2026-01-08T04:15:36.150Z","repository":{"id":57063392,"uuid":"425674155","full_name":"sy-records/webhooks","owner":"sy-records","description":"WebHook Handler for GitHub, Gitee and GitLab.","archived":false,"fork":false,"pushed_at":"2023-09-16T22:31:08.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T07:05:46.155Z","etag":null,"topics":["git","gitee","github","gitlab","php","webhooks"],"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/sy-records.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}},"created_at":"2021-11-08T02:31:20.000Z","updated_at":"2022-04-09T16:16:58.000Z","dependencies_parsed_at":"2022-08-24T10:10:08.757Z","dependency_job_id":null,"html_url":"https://github.com/sy-records/webhooks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2Fwebhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2Fwebhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2Fwebhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sy-records%2Fwebhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sy-records","download_url":"https://codeload.github.com/sy-records/webhooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219843093,"owners_count":16556592,"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":["git","gitee","github","gitlab","php","webhooks"],"created_at":"2024-10-01T14:02:32.634Z","updated_at":"2026-01-08T04:15:36.105Z","avatar_url":"https://github.com/sy-records.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webhooks\n\nWebHook Handler for GitHub, Gitee, Gitea, GitLab and Gogs.\n\n[![Latest Stable Version](http://poser.pugx.org/sy-records/webhooks/v)](https://packagist.org/packages/sy-records/webhooks)\n[![Total Downloads](http://poser.pugx.org/sy-records/webhooks/downloads)](https://packagist.org/packages/sy-records/webhooks)\n[![Latest Unstable Version](http://poser.pugx.org/sy-records/webhooks/v/unstable)](https://packagist.org/packages/sy-records/webhooks)\n[![License](http://poser.pugx.org/sy-records/webhooks/license)](https://packagist.org/packages/sy-records/webhooks)\n[![PHP Version Require](http://poser.pugx.org/sy-records/webhooks/require/php)](https://packagist.org/packages/sy-records/webhooks)\n\n## Install\n\n```bash\ncomposer require sy-records/webhooks\n```\n\n## Usage\n\n```php\nuse Luffy\\WebHook\\Payload;\nuse Luffy\\WebHook\\Interfaces\\HandlerInterface;\n\n// 如果存在实现MessageInterface的request对象，可以传入\n// 不传则从全局变量中获取\n$payload = new Payload();\n/** @var HandlerInterface $handler */\n$handler = $payload-\u003egetHandler();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsy-records%2Fwebhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsy-records%2Fwebhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsy-records%2Fwebhooks/lists"}