{"id":28501989,"url":"https://github.com/fluent/fluent-logger-php","last_synced_at":"2025-07-05T02:31:45.391Z","repository":{"id":44894553,"uuid":"2546209","full_name":"fluent/fluent-logger-php","owner":"fluent","description":"A structured logger for Fluentd (PHP)","archived":false,"fork":false,"pushed_at":"2023-04-12T05:35:11.000Z","size":449,"stargazers_count":216,"open_issues_count":18,"forks_count":59,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-06-08T16:08:36.585Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent.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":"2011-10-10T05:51:52.000Z","updated_at":"2025-02-11T21:31:17.000Z","dependencies_parsed_at":"2024-06-18T11:18:00.349Z","dependency_job_id":null,"html_url":"https://github.com/fluent/fluent-logger-php","commit_stats":{"total_commits":194,"total_committers":19,"mean_commits":"10.210526315789474","dds":"0.41237113402061853","last_synced_commit":"8a6f67901a71b3b1a844ce86769bf83ea7c99942"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/fluent/fluent-logger-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/fluent-logger-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263671744,"owners_count":23494026,"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":"2025-06-08T16:08:41.856Z","updated_at":"2025-07-05T02:31:45.380Z","avatar_url":"https://github.com/fluent.png","language":"PHP","readme":"# Fluent Logger PHP\n\n**fluent-logger-php** is a PHP library to record events to fluentd from a PHP application.\n\n[![Build Status](https://secure.travis-ci.org/fluent/fluent-logger-php.png)](http://travis-ci.org/fluent/fluent-logger-php)\n\n## Requirements\n\n- PHP 5.6 or higher\n- fluentd v0.9.20 or higher\n\n## Installation\n\n### Using Composer\n\ncomposer.json\n\n```json\n{\n    \"require\": {\n        \"fluent/logger\": \"v1.0.0\"\n    }\n}\n```\n\n# Backward Compatibility Changes\n\nAs of v1, all loggers but `FluentLogger` are removed.\n\n[Monolog](https://github.com/Seldaek/monolog) is recommended in such use cases.\n\n# Usage\n\n## PHP side\n\n```php\n\u003c?php\n\nrequire_once __DIR__.'/vendor/autoload.php';\n\nuse Fluent\\Logger\\FluentLogger;\n$logger = new FluentLogger(\"localhost\",\"24224\");\n$logger-\u003epost(\"debug.test\",array(\"hello\"=\u003e\"world\"));\n```\n\n## Fluentd side\n\nUse `in_forward`.\n\n```aconf\n\u003csource\u003e\n  @type forward\n\u003c/source\u003e\n```\n\n# Todos\n\n* Stabilize method signatures.\n* Improve performance and reliability.\n\n# Restrictions\n\n* Buffering and re-send support\n\nPHP does not have threads. So, I strongaly recommend you use fluentd as a local fluent proxy.\n\n````\napache2(mod_php)\nfluent-logger-php\n                 `-----proxy-fluentd\n                                    `------aggregator fluentd\n````\n\n# License\nApache License, Version 2.0\n\n\n# Contributors\n\n* Daniele Alessandri\n* Hiro Yoshikawa\n* Kazuki Ohta\n* Shuhei Tanuma\n* Sotaro KARASAWA\n* edy\n* kiyoto\n* sasezaki\n* satokoma\n* DQNEO\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-logger-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Ffluent-logger-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-logger-php/lists"}