{"id":16991123,"url":"https://github.com/leon0399/monolog-flysystem","last_synced_at":"2025-03-23T17:31:12.637Z","repository":{"id":32902516,"uuid":"145587064","full_name":"leon0399/monolog-flysystem","owner":"leon0399","description":"Writes your Monolog records into Flysystem filesystems.","archived":false,"fork":false,"pushed_at":"2024-06-18T02:23:26.000Z","size":30,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T22:24:07.712Z","etag":null,"topics":["cloud-logging","flysystem","log","logging","monolog","monolog-handler","monolog-library"],"latest_commit_sha":null,"homepage":"","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/leon0399.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":"2018-08-21T15:56:49.000Z","updated_at":"2022-04-02T11:04:09.000Z","dependencies_parsed_at":"2024-10-28T21:31:31.981Z","dependency_job_id":"c4792a38-ad83-45c9-bfa3-b1ab57fb8397","html_url":"https://github.com/leon0399/monolog-flysystem","commit_stats":{"total_commits":22,"total_committers":7,"mean_commits":3.142857142857143,"dds":0.5,"last_synced_commit":"195095d5e462c1433098a589a56b2c3bec39d408"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0399%2Fmonolog-flysystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0399%2Fmonolog-flysystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0399%2Fmonolog-flysystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0399%2Fmonolog-flysystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leon0399","download_url":"https://codeload.github.com/leon0399/monolog-flysystem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245140922,"owners_count":20567473,"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":["cloud-logging","flysystem","log","logging","monolog","monolog-handler","monolog-library"],"created_at":"2024-10-14T03:24:54.433Z","updated_at":"2025-03-23T17:31:11.755Z","avatar_url":"https://github.com/leon0399.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monolog Flysystem [![Tests / PHPUnit](https://github.com/leon0399/monolog-flysystem/actions/workflows/phpunit.yml/badge.svg)](https://github.com/leon0399/monolog-flysystem/actions/workflows/phpunit.yml) [![codecov](https://codecov.io/gh/leon0399/monolog-flysystem/branch/master/graph/badge.svg)](https://codecov.io/gh/leon0399/monolog-flysystem)\n\n[![Total Downloads](https://poser.pugx.org/leon0399/monolog-flysystem/downloads)](https://packagist.org/packages/leon0399/monolog-flysystem)\n[![Latest Stable Version](https://poser.pugx.org/leon0399/monolog-flysystem/v/stable)](https://packagist.org/packages/leon0399/monolog-flysystem)\n[![Latest Unstable Version](https://poser.pugx.org/leon0399/monolog-flysystem/v/unstable)](https://packagist.org/packages/leon0399/monolog-flysystem)\n[![License](https://poser.pugx.org/leon0399/monolog-flysystem/license)](https://packagist.org/packages/leon0399/monolog-flysystem)\n\nWrites your Monolog records into Flysystem files.\n\n## Installation\n\nInstall the latest version with\n\n```bash\n$ composer require leon0399/monolog-flysystem\n```\n\n## Basic Usage\n\n```php\n\u003c?php\n\nuse Monolog\\Logger;\nuse League\\Flysystem\\Filesystem;\nuse League\\Flysystem\\Adapter\\Local as LocalAdapter;\n\nuse Leon0399\\MonologFlysystem\\Handler\\FlysystemStreamHandler;\n\n$filesystem = new Filesystem(new LocalAdapter('storage'));\n\n$handler = new FlysystemStreamHandler($filesystem, 'logs/laravel.log', Logger::WARNING);\n\n// create a log channel\n$log = new Logger('name');\n$log-\u003epushHandler($handler);\n\n// add records to the log\n$log-\u003ewarning('Foo');\n$log-\u003eerror('Bar');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon0399%2Fmonolog-flysystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleon0399%2Fmonolog-flysystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon0399%2Fmonolog-flysystem/lists"}