{"id":19473351,"url":"https://github.com/ethercreative/yii2-slack-error-logger","last_synced_at":"2025-04-25T12:31:35.661Z","repository":{"id":56979671,"uuid":"84551658","full_name":"ethercreative/yii2-slack-error-logger","owner":"ethercreative","description":"Send errors (5xx) to a slack channel","archived":false,"fork":false,"pushed_at":"2017-03-13T15:48:45.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T07:53:59.628Z","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/ethercreative.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":"2017-03-10T11:07:37.000Z","updated_at":"2023-12-23T05:19:28.000Z","dependencies_parsed_at":"2022-08-21T11:50:49.127Z","dependency_job_id":null,"html_url":"https://github.com/ethercreative/yii2-slack-error-logger","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fyii2-slack-error-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fyii2-slack-error-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fyii2-slack-error-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fyii2-slack-error-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethercreative","download_url":"https://codeload.github.com/ethercreative/yii2-slack-error-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250817698,"owners_count":21492200,"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":"2024-11-10T19:18:15.591Z","updated_at":"2025-04-25T12:31:34.071Z","avatar_url":"https://github.com/ethercreative.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Slack Error Logger\n\nSend errors (5xx) to a slack channel\n\n## Install\n\nYou can install the package using the Composer package manager. You can install it by running this command in your project root:\n\n```sh\ncomposer require ethercreative/yii2-slack-error-logger\n```\n\n## Basic Usage\n\nAdd the class to your configuration file.\n\nYou will need to [create an incoming webhook](https://my.slack.com/services/new/incoming-webhook)\n\n```php\n\t// ...\n\t'log' =\u003e [\n\t\t// ...\n\t\t'targets' =\u003e [\n\t\t\t[\n\t\t\t\t'class' =\u003e 'ethercreative\\log\\Error',\n\t\t\t\t'levels' =\u003e ['error'],\n\t\t\t\t'webhook' =\u003e 'https://hooks.slack.com/...',\n\t\t\t\t'name' =\u003e 'The name of your project',\n\t\t\t\t'username' =\u003e 'The username for the user',\n\t\t\t\t'channel' =\u003e '#thechannel',\n\t\t\t],\n\t\t],\n\t],\n\t// ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercreative%2Fyii2-slack-error-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethercreative%2Fyii2-slack-error-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercreative%2Fyii2-slack-error-logger/lists"}