{"id":16372236,"url":"https://github.com/meadsteve/monosnag","last_synced_at":"2025-07-27T07:36:28.450Z","repository":{"id":14681523,"uuid":"17400795","full_name":"meadsteve/MonoSnag","owner":"meadsteve","description":"🐛 Monolog handler for bugsnag.","archived":false,"fork":false,"pushed_at":"2021-03-18T12:00:54.000Z","size":44,"stargazers_count":20,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-26T05:03:48.041Z","etag":null,"topics":[],"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/meadsteve.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-03-04T12:12:45.000Z","updated_at":"2025-02-16T04:02:55.000Z","dependencies_parsed_at":"2022-08-26T01:23:46.620Z","dependency_job_id":null,"html_url":"https://github.com/meadsteve/MonoSnag","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/meadsteve/MonoSnag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meadsteve%2FMonoSnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meadsteve%2FMonoSnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meadsteve%2FMonoSnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meadsteve%2FMonoSnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meadsteve","download_url":"https://codeload.github.com/meadsteve/MonoSnag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meadsteve%2FMonoSnag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267324943,"owners_count":24069401,"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-07-27T02:00:11.917Z","response_time":82,"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":"2024-10-11T03:10:50.384Z","updated_at":"2025-07-27T07:36:28.417Z","avatar_url":"https://github.com/meadsteve.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"MonoSnag\n==========\n[![Test PHP 7 \u0026 8](https://github.com/meadsteve/MonoSnag/actions/workflows/php.yml/badge.svg)](https://github.com/meadsteve/MonoSnag/actions/workflows/php.yml)\n[![Latest Stable Version](https://poser.pugx.org/mead-steve/mono-snag/v/stable.svg)](https://packagist.org/packages/mead-steve/mono-snag)\n[![License](https://poser.pugx.org/mead-steve/mono-snag/license.svg)](https://packagist.org/packages/mead-steve/mono-snag)\n[![Monthly Downloads](https://poser.pugx.org/mead-steve/mono-snag/d/monthly.png)](https://packagist.org/packages/mead-steve/mono-snag)\n\n[Monolog](https://seldaek.github.io/monolog/) Handler connection to [Bugsnag](http://bugsnag.com)\n\nInstallation\n------------\nVia Composer using\n```shell\ncomposer require mead-steve/mono-snag\n```\n\n\nUsage\n------------\n\nA handler is provided that wraps up a Bugsnag client. By default, the handler will grab anything at\nLogger::ERROR and above and send it to Bugsnag.\n\n```php\n\n$logger  = new Monolog\\Logger(\"Example\");\n\n$bugsnagClient = new Bugsnag\\Client('YOUR-BUGSNAG-API-KEY-HERE');\n//... bugsnag specific config goes here.\n$bugsnagHandler = new \\MeadSteve\\MonoSnag\\BugsnagHandler($bugsnagClient);\n\n$logger-\u003epushHandler($bugsnagHandler);\n\n// The following error will get sent automatically to Bugsnag\n$logger-\u003eaddError(\"oh no!\", array('exception' =\u003e new \\Exception(\"ohnoception\")));\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeadsteve%2Fmonosnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeadsteve%2Fmonosnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeadsteve%2Fmonosnag/lists"}