{"id":33997439,"url":"https://github.com/yzen-dev/mono-processor","last_synced_at":"2025-12-13T08:58:08.209Z","repository":{"id":51196073,"uuid":"266211236","full_name":"yzen-dev/mono-processor","owner":"yzen-dev","description":"Supplement your logging with auxiliary information on error","archived":false,"fork":false,"pushed_at":"2023-02-01T19:43:44.000Z","size":281,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T18:06:37.955Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yzen-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-22T21:29:37.000Z","updated_at":"2024-02-02T17:03:07.000Z","dependencies_parsed_at":"2023-02-17T10:15:55.748Z","dependency_job_id":null,"html_url":"https://github.com/yzen-dev/mono-processor","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/yzen-dev/mono-processor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzen-dev%2Fmono-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzen-dev%2Fmono-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzen-dev%2Fmono-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzen-dev%2Fmono-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yzen-dev","download_url":"https://codeload.github.com/yzen-dev/mono-processor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzen-dev%2Fmono-processor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27702869,"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-12-13T02:00:09.769Z","response_time":147,"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":"2025-12-13T08:58:07.491Z","updated_at":"2025-12-13T08:58:08.203Z","avatar_url":"https://github.com/yzen-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MonoProcessor - Supplement your logging with auxiliary information on error \n![Packagist Version](https://img.shields.io/packagist/v/yzen.dev/mono-processor?color=%23007ec6\u0026style=plastic)\n![Packagist Downloads](https://img.shields.io/packagist/dm/yzen.dev/mono-processor)\n![Packagist Downloads](https://img.shields.io/packagist/dt/yzen.dev/mono-processor)\n\nThis Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.\n\n## :scroll: **Installation**\nThe package can be installed via composer:\n```\ncomposer require yzen.dev/mono-processor\n```\nTo get started, first publish MonoProcessor config and view files into your own project:\n```\nphp artisan vendor:publish --provider \"MonoProcessor\\ServiceProvider\"\n```\n\n# :scroll: **Version Compatibility**\n| Laravel | MonoProcessor |\n| ------- | ------------- |\n| v8.x | v1.x |\n| v7.x | v0.3.x |\n\n## :scroll: **Features**\n* Extends standard logs\n* Collection of SQL requests\n* Collection of HTTP requests\n* Authorized user information\n* Route information \n* Git information \n* PHP information \n* Memory information \n\n## :scroll: **Usage**\nTo use MonoProcessor you need to add the following `tap` to your `logging.php` config:\n```php\n    'channels' =\u003e [\n        'daily' =\u003e [\n            'driver' =\u003e 'daily',\n            'path' =\u003e storage_path('logs/laravel.log'),\n            'level' =\u003e 'debug',\n            'days' =\u003e env('LOG_DAYS', 7),\n            'tap' =\u003e [\n                MonoProcessor\\MonoProcessors::class\n            ]\n        ]\n    ]\n```\nAs a result, you will get approximately the following information after the stack: \n![example](http://ipic.su/img/img7/fs/Bezymyannyj.1601029498.jpg)\n\n## :scroll: **Configuration**\n\n| Processor         | Description                                                  |\n| ----------------- | ------------------------------------------------------------ |\n| stacktrace        | Stack output when an error occurs                            |\n| memoryPeak        | Memory peak at runtime                                       |\n| git               | Git branch and Git commit SHA                                |\n| phpinfo           | php info (version)                                           |\n| json_format       | Output of additional information in the format JSON_PRETTY_PRINT|\n| command           | Listen console commands                                      |\n| levels            | levels (DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY)|\n| uuid              | Adds a unique identifier                                     |\n| ----------------- | ------------------------------------------------------------ |\n| request           | Logging of the received request                              |\n| request.base_info | add request host,ip,url,method                               |\n| request.header    | add request header                                           |\n| request.body      | add request body                                             |\n| ----------------- | ------------------------------------------------------------ |\n| breadcrumbs       | What breadcrumbs do you need to collect                      |\n| breadcrumbs.auth  | auth info                                                    |\n| breadcrumbs.sql   | List of sql queries                                          |\n| breadcrumbs.route  | route info (name,action)                                    |\n\n\nYou can also get all harvested breadcrumbs using the `get_breadcrumbs()` method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzen-dev%2Fmono-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyzen-dev%2Fmono-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzen-dev%2Fmono-processor/lists"}