{"id":24077516,"url":"https://github.com/nhalstead/php-facilitator","last_synced_at":"2026-05-04T18:36:15.679Z","repository":{"id":57026472,"uuid":"146517441","full_name":"nhalstead/php-facilitator","owner":"nhalstead","description":"Send Events to Webhooks with Ease. Check the Examples to See for your self!","archived":false,"fork":false,"pushed_at":"2020-10-04T20:43:15.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T20:54:42.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nhalstead.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":"2018-08-28T23:18:30.000Z","updated_at":"2020-10-04T20:43:17.000Z","dependencies_parsed_at":"2022-08-23T16:11:06.003Z","dependency_job_id":null,"html_url":"https://github.com/nhalstead/php-facilitator","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/nhalstead%2Fphp-facilitator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhalstead%2Fphp-facilitator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhalstead%2Fphp-facilitator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhalstead%2Fphp-facilitator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhalstead","download_url":"https://codeload.github.com/nhalstead/php-facilitator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240951805,"owners_count":19883803,"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":[],"created_at":"2025-01-09T20:55:13.541Z","updated_at":"2026-05-04T18:36:10.642Z","avatar_url":"https://github.com/nhalstead.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Webhook Facilitator\n\nUsing the Basic Package you can Post Requests to Slack, Discord and other Services that have WebHook Endpoints with Ease!\n\nThis is a package for PHP, So it is PSR4 compliant and can be used with or without composer.\n\n**Zero** Dependencies with exception of `CURL`.\n\nThe System is even ready for you to add you own Custom Webhook Endpoints.\n\n## Supported Services\n| Name          | Full Support |               Class                |\n|:--------------|:------------:|:----------------------------------:|\n| Custom Events |     Yes      |                                    |\n| Slack         |     Yes      |  nhalstead\\Endpoints\\SlackWebhook  |\n| Discord       |     Yes      | nhalstead\\Endpoints\\DiscordWebhook |\n| IFTTT         |     Yes      |  nhalstead\\Endpoints\\IFTTTWebhook  |\n\n---\n\n## Installation\nYou can install the package via composer\n\u003e```bash\n\u003ecomposer require nhalstead/php-facilitator\n\u003e```\nAlternatively you can clone the code from GitHub\n\u003e```bash\n\u003egit clone https://github.com/nhalstead/php-facilitator.git\n\u003e```\n\n## How to use:\n\u003e Load the Package using Composer\n\u003e```php\n\u003e```php\n\u003e\u003erequire_once(\"../vendor/autoload.php\"); // Composer Method, Loading by PSR4\n\u003e\u003euse nhalstead\\Facilitator\\Facilitator;\n\u003e\u003e```\n\u003e```\n\n\n\u003e This will send an Payload to a Specific channel on the specified event.\n\u003e```php\n\u003euse nhalstead\\Facilitator\\Facilitator;\n\u003euse nhalstead\\Facilitator\\Endpoints\\DiscordWebhook;\n\u003e\n\u003e // Create new Queue\n\u003e$queue = new Facilitator();\n\u003e\n\u003e// Make new Event\n\u003e$newEvent = new DiscordWebhook(\"[DISCORD WEBHOOK URL]\");\n\u003e$newEvent-\u003eusername(\"John\");\n\u003e$newEvent-\u003eavatar(\"https://png.icons8.com/clouds/50/000000/megaphone.png\");\n\u003e$newEvent-\u003emessage(\"Hello\");\n\u003e\n\u003e\n\u003e// Add and Send Events in Queue\n\u003e$queue-\u003eaddEvent($newEvent);\n\u003e$queue-\u003esendEvents();\n\u003e```\n\u003e For more Examples check out the /examples folder.\n\n\n## Contributors\n- nhalstead @ https://github.com/nhalstead\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhalstead%2Fphp-facilitator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhalstead%2Fphp-facilitator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhalstead%2Fphp-facilitator/lists"}