{"id":15044678,"url":"https://github.com/elastic/ecs-logging-php","last_synced_at":"2025-04-13T00:47:03.873Z","repository":{"id":35589321,"uuid":"213983784","full_name":"elastic/ecs-logging-php","owner":"elastic","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T22:26:50.000Z","size":151,"stargazers_count":20,"open_issues_count":16,"forks_count":38,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-04-13T00:46:59.377Z","etag":null,"topics":["ecs","elastic-common-schema","filebeat","logging","monolog","monolog-formatter","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elastic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2019-10-09T17:39:51.000Z","updated_at":"2025-03-24T17:39:13.000Z","dependencies_parsed_at":"2025-01-15T16:32:18.051Z","dependency_job_id":"8d4a770c-77ea-4dc1-9a8c-7ce14e7676c8","html_url":"https://github.com/elastic/ecs-logging-php","commit_stats":{"total_commits":85,"total_committers":18,"mean_commits":4.722222222222222,"dds":0.7058823529411764,"last_synced_commit":"978b848676807e62899097804939b7d90d27eec7"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fecs-logging-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fecs-logging-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fecs-logging-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Fecs-logging-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastic","download_url":"https://codeload.github.com/elastic/ecs-logging-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650434,"owners_count":21139672,"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":["ecs","elastic-common-schema","filebeat","logging","monolog","monolog-formatter","php"],"created_at":"2024-09-24T20:50:53.837Z","updated_at":"2025-04-13T00:47:03.853Z","avatar_url":"https://github.com/elastic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://apm-ci.elastic.co/buildStatus/icon?job=apm-agent-php%2Fecs-logging-php-mbp%2Fmain)](https://apm-ci.elastic.co/job/apm-agent-php/job/ecs-logging-php-mbp/job/main/)\r\n\r\n# ECS Logging for PHP\r\n\r\nTransform your application logs to structured logs that comply with the [Elastic Common Schema (ECS)](https://www.elastic.co/guide/en/ecs/current/ecs-reference.html).\r\nIn combination with [Filebeat](https://www.elastic.co/products/beats/filebeat), send your logs directly to Elasticsearch and leverage [Kibana's Logs app](https://www.elastic.co/guide/en/observability/current/monitor-logs.html) to inspect all of your logs in a single place.\r\nThis provides more observability for your PHP applications, for example, by correlating your logs with APM traces.\r\n\r\nSee the [PHP ECS logging documentation](https://www.elastic.co/guide/en/ecs-logging/php/current/intro.html) to get started, or the [ecs-logging repo](https://github.com/elastic/ecs-logging) for other ECS logging libraries and more resources about ECS \u0026 logging.\r\n\r\n---\r\n\r\n## Install\r\n```\r\ncomposer require elastic/ecs-logging\r\n```\r\n\r\n## Examples and Usage\r\n* [Monolog v3.0](https://github.com/elastic/ecs-logging-php/blob/main/docs/Monolog_v3.md)\r\n\r\n## Library Support\r\n* Currently only [Monolog:3.*](https://github.com/Seldaek/monolog) is supported.\r\n\r\n## References\r\n* [Documentation](https://www.elastic.co/guide/en/ecs-logging/php/current/intro.html)\r\n* Introduction to ECS [blog post](https://www.elastic.co/blog/introducing-the-elastic-common-schema).\r\n* Logs UI [blog post](https://www.elastic.co/blog/infrastructure-and-logs-ui-new-ways-for-ops-to-interact-with-elasticsearch).\r\n\r\n## Contributing\r\n\r\nSee [contributing documentation](CONTRIBUTING.md).\r\n\r\n## License\r\nThis software is licensed under the [Apache 2 license](https://github.com/elastic/ecs-logging-php/blob/main/LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Fecs-logging-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastic%2Fecs-logging-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Fecs-logging-php/lists"}