{"id":19330326,"url":"https://github.com/larttyler/airbrakebundle","last_synced_at":"2026-05-13T13:41:27.833Z","repository":{"id":62502678,"uuid":"47420721","full_name":"LartTyler/AirbrakeBundle","owner":"LartTyler","description":null,"archived":false,"fork":false,"pushed_at":"2016-04-26T18:44:02.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T13:51:58.300Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LartTyler.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":"2015-12-04T18:02:36.000Z","updated_at":"2016-01-20T18:17:00.000Z","dependencies_parsed_at":"2022-11-02T12:16:05.566Z","dependency_job_id":null,"html_url":"https://github.com/LartTyler/AirbrakeBundle","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LartTyler%2FAirbrakeBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LartTyler%2FAirbrakeBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LartTyler%2FAirbrakeBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LartTyler%2FAirbrakeBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LartTyler","download_url":"https://codeload.github.com/LartTyler/AirbrakeBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434242,"owners_count":19800548,"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-10T02:35:57.077Z","updated_at":"2026-05-13T13:41:27.778Z","avatar_url":"https://github.com/LartTyler.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n\n### Step 1: Install the Bundle\n```shell\n$ composer require dbstudios/airbrake-bundle\n```\n\n### Step 2: Enable the Bundle\n```php\n// app/AppKernel.php\npublic function registerBundles() {\n\treturn array(\n\t\t// ...\n\t\tnew DaybreakStudios\\Bundle\\AirbrakeBundle\\DaybreakStudiosAirbrakeBundle(),\n\t);\n}\n```\n\n### Step 3: Configure\nWhile it is possible to add your API key and Project ID directly to `config.yml`, this would cause your private API key to be\npublished to your VCS. It is recommended that you follow the examples below and place the Project ID and API key in\n`parameters.yml`.\n\n```yml\n# app/config/config.yml\ndaybreak_studios_airbrake:\n\tenabled: false\n\tapi_key: %airbrake.api_key%\n\tproject_id: %airbrake.project_id%\n\tignored_exceptions: [] # Optional array of exceptions to be ignored by the bundle;\n\t\t\t\t\t\t   # these will NOT be sent to Airbrake\n```\n\n```yml\n# app/config/config_prod.yml\ndaybreak_studios_airbrake:\n\tenabled: true\n```\n\nThe above example will set up the bundle with everything you need, and will tell the bundle to only send to Airbrake if\nyou are in the production environment. If you would like Airbrake logging to always be enabled, you can simply set\n`enabled` to true in the first YAML file in step 3.\n\n### Step 4: Set Up Monolog Watcher (optional)\nAirbrakeBundle supports watching Monolog log files for certain log levels, and sending just those log entries to Airbrake.\nIf you plan on using this feature, it is recommended that you follow the Symfony tutorial\n[Adding a Session / Request Token](http://symfony.com/doc/current/cookbook/logging/monolog.html#adding-a-session-request-token).\n\nTo enable the log watcher, you will need to add the following to your `services.yml` file (either the global app file or the one\nin your application bundle).\n\n```yml\n# services.yml\nservices:\n\t# ...\n\tairbrake_log_watcher:\n\t\tclass: DaybreakStudios\\Bundle\\AirbrakeBundle\\Logging\\AirbrakeHandler\n\t\targuments:\n\t\t\t- @daybreak_studios_airbrake.service.airbrake\n\t\t\t- @=constant(\"Monolog\\\\Logger::WARNING\")\n```\n\nThat will set up a new Monolog handler as a service. Next, you'll need to add the following to your Monolog handler stack (for\nmore information, please read [How to Use Monolog to Write Logs](http://symfony.com/doc/current/cookbook/logging/monolog.html),\nspecifically the section on using handlers).\n\n```yml\n# config.yml (or whichever config file holds your Monolog handler stack set up)\nmonolog:\n\thandlers:\n\t\tairbrake:\n\t\t\ttype: service\n\t\t\tid: airbrake_log_watcher\n\t\t# ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarttyler%2Fairbrakebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarttyler%2Fairbrakebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarttyler%2Fairbrakebundle/lists"}