{"id":17725479,"url":"https://github.com/webarchitect609/stream-tools","last_synced_at":"2026-03-05T10:31:45.298Z","repository":{"id":62547373,"uuid":"246794862","full_name":"webarchitect609/stream-tools","owner":"webarchitect609","description":"Useful filters and other tools to be used with PHP Stream Functions.","archived":false,"fork":false,"pushed_at":"2024-07-04T12:22:12.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T16:46:19.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/webarchitect609.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2020-03-12T09:32:18.000Z","updated_at":"2025-02-12T11:00:06.000Z","dependencies_parsed_at":"2025-01-16T04:15:40.875Z","dependency_job_id":null,"html_url":"https://github.com/webarchitect609/stream-tools","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/webarchitect609/stream-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fstream-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fstream-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fstream-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fstream-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webarchitect609","download_url":"https://codeload.github.com/webarchitect609/stream-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarchitect609%2Fstream-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30119427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T09:35:22.236Z","status":"ssl_error","status_checked_at":"2026-03-05T09:35:20.028Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-25T16:04:38.302Z","updated_at":"2026-03-05T10:31:45.271Z","avatar_url":"https://github.com/webarchitect609.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Stream Tools\n===============\n\n**Be careful**: it's the early alpha-version so far! \n\n[![Build Status](https://travis-ci.org/webarchitect609/stream-tools.svg?branch=master)](https://travis-ci.org/webarchitect609/stream-tools)\n\nUseful filters and other tools to be used with [PHP Stream Functions](https://www.php.net/manual/en/ref.stream.php).\n\nHow to use\n----------\n1) Install via [composer](https://getcomposer.org/)\n    ```bash\n    composer require webarchitect609/stream-tools\n    ```\n\n2) Register the desired filter.\n    ```php\n    use WebArch\\StreamTools\\Filter\\EndOfLineFilter;\n   \n    stream_filter_register(EndOfLineFilter::class, EndOfLineFilter::class);\n    ```\n3) See the filter's phpDocs for help on usage and params. Attach the filter to the opened file resource or other stream.\n    ```php\n    use WebArch\\StreamTools\\Enum\\EndOfLine;\n    use WebArch\\StreamTools\\Filter\\EndOfLineFilter;\n    /** @var resource $stream */\n    stream_filter_append(\n        $stream,\n        EndOfLineFilter::class,\n        STREAM_FILTER_WRITE,\n        EndOfLine::WINDOWS\n    );\n    ```\n4) Enjoy!\n    ```php\n    /** @var resource $stream */\n    fputs($stream, \"All LF symbols\\nwill be replaced by CRLF symbols.\\nThat's it!\");\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarchitect609%2Fstream-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebarchitect609%2Fstream-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarchitect609%2Fstream-tools/lists"}