{"id":18791879,"url":"https://github.com/saksmt/php-streams","last_synced_at":"2025-12-27T23:30:12.536Z","repository":{"id":36238766,"uuid":"40543112","full_name":"saksmt/php-streams","owner":"saksmt","description":"  Another abstraction over output.","archived":false,"fork":false,"pushed_at":"2015-08-11T13:38:11.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-12-29T15:14:30.738Z","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/saksmt.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":"2015-08-11T13:26:15.000Z","updated_at":"2015-08-11T13:28:53.000Z","dependencies_parsed_at":"2022-09-09T11:51:48.404Z","dependency_job_id":null,"html_url":"https://github.com/saksmt/php-streams","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fphp-streams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fphp-streams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fphp-streams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fphp-streams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saksmt","download_url":"https://codeload.github.com/saksmt/php-streams/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239718329,"owners_count":19685722,"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":"2024-11-07T21:17:14.987Z","updated_at":"2025-12-27T23:30:12.493Z","avatar_url":"https://github.com/saksmt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"smt/streams\n===========\n\nAnother abstraction over output.\n\nKey-features\n------------\n\nRedirecting to another stream.\n\nInstallation\n------------\n\n    composer require smt/streams\n\nUsage\n-----\n\n    use Smt\\Streams\\SymfonyOutputStream;\n    use Smt\\Streams\\FileStream;\n    use Smt\\Streams\\DummyStream;\n\n    $outStream = new SymfonyOutputStream($out);\n    $outStream\n        -\u003ewrite('Hello')\n        -\u003eredirect(new FileStream('truth.txt'))\n        -\u003ewrite('Time')\n        -\u003ewrite(' to')\n        -\u003ewrite(' take')\n        -\u003ewrite(' over')\n        -\u003ewrite(' the')\n        -\u003esetRedirectMode(FileStream::WRITE_REDIRECT)\n        -\u003ewriteln('world')\n    ;\n    // Symfony out - \"Hello world\"\n    // truth.txt - \"Time to take over the world\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaksmt%2Fphp-streams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaksmt%2Fphp-streams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaksmt%2Fphp-streams/lists"}