{"id":14985371,"url":"https://github.com/sytxlabs/laravel-error-logger","last_synced_at":"2026-01-21T11:06:30.090Z","repository":{"id":242915817,"uuid":"810952231","full_name":"SytxLabs/Laravel-Error-Logger","owner":"SytxLabs","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-12T22:40:56.000Z","size":325,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-07T07:02:56.628Z","etag":null,"topics":["composer","error-handler","logging","php"],"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/SytxLabs.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":"2024-06-05T16:55:30.000Z","updated_at":"2024-10-21T13:35:12.000Z","dependencies_parsed_at":"2024-08-01T16:15:45.425Z","dependency_job_id":"d76aa589-8365-49e1-8699-14cf1118a86a","html_url":"https://github.com/SytxLabs/Laravel-Error-Logger","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"148831186e0a5b1a2f1b92983b0a60f6d1f0884b"},"previous_names":["sytxlabs/error-logger","sytxlabs/laravel-error-logger"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-Error-Logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-Error-Logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-Error-Logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SytxLabs%2FLaravel-Error-Logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SytxLabs","download_url":"https://codeload.github.com/SytxLabs/Laravel-Error-Logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223472814,"owners_count":17150745,"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":["composer","error-handler","logging","php"],"created_at":"2024-09-24T14:10:49.110Z","updated_at":"2026-01-21T11:06:30.034Z","avatar_url":"https://github.com/SytxLabs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Error-Logger for Laravel\n\n[![MIT Licensed](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Check code style](https://github.com/SytxLabs/Laravel-Error-Logger/actions/workflows/code-style.yml/badge.svg?style=flat-square)](https://github.com/SytxLabs/Laravel-Error-Logger/actions/workflows/code-style.yml)\n[![Latest Version on Packagist](https://poser.pugx.org/sytxlabs/laravel-error-logger/v/stable?format=flat-square)](https://packagist.org/packages/sytxlabs/laravel-error-logger)\n[![Total Downloads](https://poser.pugx.org/sytxlabs/laravel-error-logger/downloads?format=flat-square)](https://packagist.org/packages/sytxlabs/laravel-error-logger)\n\n\nThis package adds a basic logging channel that sends error logs to an email address, discord channel, whatsapp account, telegram chat and a (github/gitlab) issue.\n\n## Prerequisites\n\n* A configured default Laravel mail driver\n* PHP 8.2 or higher\n* Laravel 10.0 or higher\n\n## Installation\n\n```sh\ncomposer require sytxlabs/laravel-error-logger\n```\n\n## Configuration\n\nTo configure your Laravel application to use the logger, you should create a logging channel in your `logging.php`\nconfiguration file.\n\nFor example a stack channel that logs to the default stack and sends email notifications:\n\n```php\nreturn [\n    // ...\n    'channels' =\u003e [\n        // ...    \n\n        'error-log' =\u003e [\n            'driver' =\u003e 'monolog',\n            'handler' =\u003e \\SytxLabs\\ErrorLogger\\Logging\\Monolog\\ErrorLogHandler::class,\n        ],\n    ],\n    // ...    \n];\n```\n\nYou may then set the logging channel in your `.env` file or as the default logging channel in your `logging.php`.\n\n```dotenv\nLOG_CHANNEL=error-log\n```\n\n### Customization\n\nThe library offers some customization for the default `error-log` channel via a config.\n\nIt's also possible to publish the configuration for this package with the `artisan vendor:publish` command.\n\n```sh\nphp artisan vendor:publish --tag=error-logger-config\n```\n\n## Known issues\n\n### Mail drivers using a 'log' transport\n\nMail drivers using a `\\Illuminate\\Mail\\Transport\\LogTransport` transport are not supported and the EmailHandler will\nfall back to a `NoopHandler`.\n\n**However**, this automatic fallback currently only works if the selected driver directly uses a `LogTransport`.\nIf you for example set a `RoundRobinTransport` with a `LogTransport` mail driver, it will end up in\nan infinite recursion loop. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsytxlabs%2Flaravel-error-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsytxlabs%2Flaravel-error-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsytxlabs%2Flaravel-error-logger/lists"}