{"id":17111008,"url":"https://github.com/mteu/typo3-stream-writer","last_synced_at":"2025-04-13T03:57:52.627Z","repository":{"id":250903675,"uuid":"835590883","full_name":"mteu/typo3-stream-writer","owner":"mteu","description":"This extension adds the possibility to log to php://stdout and php://stderr.","archived":false,"fork":false,"pushed_at":"2025-04-11T02:33:37.000Z","size":547,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T03:57:46.577Z","etag":null,"topics":["logging","typo3-cms-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mteu.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-07-30T06:33:25.000Z","updated_at":"2025-04-11T02:33:14.000Z","dependencies_parsed_at":"2024-08-26T12:49:14.607Z","dependency_job_id":"9f48cb2e-c728-4cc3-a862-1ed6d4f7f9ac","html_url":"https://github.com/mteu/typo3-stream-writer","commit_stats":null,"previous_names":["mteu/typo3-stream-writer"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mteu%2Ftypo3-stream-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mteu%2Ftypo3-stream-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mteu%2Ftypo3-stream-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mteu%2Ftypo3-stream-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mteu","download_url":"https://codeload.github.com/mteu/typo3-stream-writer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661705,"owners_count":21141450,"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":["logging","typo3-cms-extension"],"created_at":"2024-10-14T16:48:18.809Z","updated_at":"2025-04-13T03:57:52.598Z","avatar_url":"https://github.com/mteu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![CGL](https://github.com/mteu/typo3-stream-writer/actions/workflows/cgl.yaml/badge.svg)](https://github.com/mteu/typo3-stream-writer/actions/workflows/cgl.yaml)\n[![Tests](https://github.com/mteu/typo3-stream-writer/actions/workflows/tests.yaml/badge.svg?branch=main)](https://github.com/mteu/typo3-stream-writer/actions/workflows/tests.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/mteu/typo3-stream-writer/badge.svg?branch=main)](https://coveralls.io/github/mteu/typo3-stream-writer?branch=main)\n[![Maintainability](https://api.codeclimate.com/v1/badges/edd606b0c4de053a2762/maintainability)](https://codeclimate.com/github/mteu/typo3-stream-writer/maintainability)\n\n[![TYPO3 12](https://img.shields.io/badge/TYPO3-12-orange.svg)](https://get.typo3.org/version/12)\n[![TYPO3 13](https://img.shields.io/badge/TYPO3-13-orange.svg)](https://get.typo3.org/version/13)\n[![PHP Version Require](https://poser.pugx.org/mteu/typo3-stream-writer/require/php)](https://packagist.org/packages/mteu/typo3-stream-writer)\n# TYPO3 Stream Writer 🍿\n\u003c/div\u003e\n\nThis TYPO3 CMS extensions adds a custom `LogWriter` to the TYPO3 Logging Framework allowing the CMS to log messages to\n`php://stdout` or `php://stderr`.\n\n## ⚡️ Quickstart\n\n### Installation\n```bash\ncomposer require mteu/typo3-stream-writer\n```\n\n### Usage\nConfigure your extension or TYPO3 instance to use the new writer.\n\n```php\n# config/system/additional.php | typo3conf/system/additional.php\n\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse TYPO3\\CMS\\Core\\Authentication\\BackendUserAuthentication;\nuse TYPO3\\CMS\\Frontend\\Authentication\\FrontendUserAuthentication;\nuse TYPO3\\CMS\\Core\\Core\\Environment;\nuse TYPO3\\CMS\\Core\\Log\\LogLevel;\nuse mteu\\StreamWriter\\Config\\StandardStream;\nuse mteu\\StreamWriter\\Writer\\StreamWriter;\n\ndefined('TYPO3') or die();\n\n$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = [\n     \\Psr\\Log\\LogLevel::ERROR =\u003e [\n        StreamWriter::class =\u003e [\n            'outputStream' =\u003e StandardStream::Error,\n        ],\n    ],\n    \\Psr\\Log\\LogLevel::DEBUG =\u003e [\n        StreamWriter::class =\u003e [\n            'outputStream' =\u003e StandardStream::Out,\n            'ignoredComponents' =\u003e [\n                BackendUserAuthentication::class,\n                FrontendUserAuthentication::class,\n            ],\n            'maxLevel' =\u003e Psr\\Log\\LogLevel::WARNING,\n        ],\n    ],\n];\n```\n\u003e 💡 Learn more about the LogWriter configuration in [`WriterConfiguration`](Documentation/writer-configuration.md).\n\n## ⭐ License\nThis project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmteu%2Ftypo3-stream-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmteu%2Ftypo3-stream-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmteu%2Ftypo3-stream-writer/lists"}