{"id":31847255,"url":"https://github.com/opencontentcoop/ocwebhookserver","last_synced_at":"2026-02-18T11:36:30.526Z","repository":{"id":57032152,"uuid":"226159603","full_name":"OpencontentCoop/ocwebhookserver","owner":"OpencontentCoop","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-26T11:21:36.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-03T07:53:32.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpencontentCoop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-05T17:57:11.000Z","updated_at":"2021-11-06T07:21:38.000Z","dependencies_parsed_at":"2022-08-24T00:01:03.648Z","dependency_job_id":null,"html_url":"https://github.com/OpencontentCoop/ocwebhookserver","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/OpencontentCoop/ocwebhookserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpencontentCoop%2Focwebhookserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpencontentCoop%2Focwebhookserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpencontentCoop%2Focwebhookserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpencontentCoop%2Focwebhookserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpencontentCoop","download_url":"https://codeload.github.com/OpencontentCoop/ocwebhookserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpencontentCoop%2Focwebhookserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010942,"owners_count":26084837,"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-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2025-10-12T09:42:46.294Z","updated_at":"2025-10-12T09:42:48.491Z","avatar_url":"https://github.com/OpencontentCoop.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenContent Webhook Server\n\nA webhook is a way to provide information to another app about a particular event. \nThe way the two apps communicate is with a simple HTTP request.\n\nThis eZPublish legacy extension allows you to configure and send webhooks easily.\n\n### Installation\n\n - Require package `composer require opencontent/ocwebhookserver-ls`\n - Enable extension in site.ini\n - Regenerate autoloads and clear cache\n - Create your webhook in `/webhook/list`\n - Run the worker `php extension/ocwebhookserver/bin/php/worker.php`\n \n \n### Default trigger\nA post publish trigger is available: \nto activate it, you need to configure the workflow 'Post publish webhook' in content/after trigger\n\n### Create new trigger\nTo add your own trigger: \n - create a `OCWebHookTriggerInterface` implementation \n - configure it in `webhook.ini [TriggersSettings]TriggerList`\n - put in your code the event trigger method\n```\nOCWebHookEmitter::emit(\n    \u003cyour_trigger_identifier\u003e,\n    \u003cyour_json_serializable_payload\u003e,\n    OCWebHookQueue::defaultHandler()\n);\n```\nsee for example *eventtypes/event/workflowwebhook/workflowwebhooktype.php*\n\n### Todo\n - trigger filter configurations\n - payload configurations \n - worker evolutions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencontentcoop%2Focwebhookserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencontentcoop%2Focwebhookserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencontentcoop%2Focwebhookserver/lists"}