{"id":18331416,"url":"https://github.com/notify-events/php","last_synced_at":"2026-02-14T23:01:59.974Z","repository":{"id":57028579,"uuid":"258874815","full_name":"notify-events/php","owner":"notify-events","description":"PHP extension to integrate your project with Notify.Events service.","archived":false,"fork":false,"pushed_at":"2025-03-31T15:58:58.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-27T08:27:53.419Z","etag":null,"topics":["alert","call","composer","notification","php","php-extension","slack","teams","telegram","viber","voice"],"latest_commit_sha":null,"homepage":"https://notify.events/source/61","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/notify-events.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}},"created_at":"2020-04-25T21:09:12.000Z","updated_at":"2025-03-31T15:47:10.000Z","dependencies_parsed_at":"2025-04-09T18:14:30.315Z","dependency_job_id":"a1b61097-df4a-4da3-9c5e-e7c0acae60e5","html_url":"https://github.com/notify-events/php","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/notify-events/php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notify-events%2Fphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notify-events%2Fphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notify-events%2Fphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notify-events%2Fphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notify-events","download_url":"https://codeload.github.com/notify-events/php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notify-events%2Fphp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29460136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: 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":["alert","call","composer","notification","php","php-extension","slack","teams","telegram","viber","voice"],"created_at":"2024-11-05T19:31:41.078Z","updated_at":"2026-02-14T23:01:59.942Z","avatar_url":"https://github.com/notify-events.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP client for Notify.Events\n\nA simple PHP extension that simplifies the process of integrating your project with the [Notify.Events](https://notify.events) service to send messages to your channels.\n\n#### Instruction on another languages\n\n- [Русский](/docs/ru-RU/README.md)\n\n# Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist notify-events/php\n```\n\nor add\n\n```\n\"notify-events/php\": \"~1.0\"\n```\n\nto the require section of your composer.json.\n\n# Usage\n\nTo use this extension, you need to import the Message class into your PHP script.\n\nIf you used composer for installation, it will be enough to include the autoload.php file:\n\n```php\nrequire_once \"vendor/autoload.php\";\n```\n\nOtherwise, if you added the extension manually, you need to import the Message class by yourself:\n\n```php\nrequire_once \"path/to/notify-events/php/Message.php\";\n```\n\nAfter that, you can create a message object, set the necessary parameters and send the message to the channel.\n\n### Usage example\n\n```php\n\u003c?php\n    require_once \"vendor/autoload.php\";\n    \n    // Defining channel token.\n    // You get this token when creating a channel on the Notify.Events service.\n    $myChannelToken = 'XXXXXXXX';\n    \n    // Create a message object.\n    $message = new Message('Some \u003cb\u003eimportant\u003c/b\u003e message', 'Title', Message::PRIORITY_HIGH, Message::LEVEL_ERROR);\n\n    // Attach the file to the message.\n    $message-\u003eaddFile('path\\to\\local\\file');\n    \n    // Send a message to your channel in Notify.Events.\n    $message-\u003esend($myChannelToken);\n?\u003e\n```\n\n[List of all available functions](/docs/en-US/Message.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotify-events%2Fphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotify-events%2Fphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotify-events%2Fphp/lists"}