{"id":22292047,"url":"https://github.com/aedart/athenaeum-streams","last_synced_at":"2026-01-25T11:31:29.424Z","repository":{"id":56899557,"uuid":"464539911","full_name":"aedart/athenaeum-streams","owner":"aedart","description":"[READ ONLY] Athenaeum Streams package - see https://github.com/aedart/athenaeum","archived":false,"fork":false,"pushed_at":"2025-11-24T08:01:31.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T21:19:31.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aedart.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-28T15:35:59.000Z","updated_at":"2025-11-24T08:01:35.000Z","dependencies_parsed_at":"2025-11-27T08:38:04.927Z","dependency_job_id":null,"html_url":"https://github.com/aedart/athenaeum-streams","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"f84470fdadd211b0ecd586471cdd057ce493dba7"},"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"purl":"pkg:github/aedart/athenaeum-streams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-streams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-streams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-streams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-streams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aedart","download_url":"https://codeload.github.com/aedart/athenaeum-streams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aedart%2Fathenaeum-streams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28752668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-12-03T17:19:24.347Z","updated_at":"2026-01-25T11:31:29.406Z","avatar_url":"https://github.com/aedart.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streams\n\nThe \"streams\" package offers an extended version of [PSR-7's](https://www.php-fig.org/psr/psr-7/#13-streams) defined `StreamInterface`;\na wrapper for common stream operations, mostly intended for file streams.\n\n```php\nuse Aedart\\Streams\\FileStream;\n\n$stream = FileStream::open('my-file.txt')\n    -\u003eput('Hi there');\n\n$more = FileStream::openMemory()\n    -\u003eput(\"\\nMore things to show...\")\n    -\u003epositionToStart();\n\n$stream\n    -\u003eappend($more);\n\necho (string) $stream; // Hi there\n                       // More things to show...\n```\n\n## Motivation\n\nThere are many good alternatives to this package. Sadly, some of those alternatives makes it unreasonably difficult to extend their offered functionality.\nTherefore, while this package offers similar or identical functionality as some of those alternatives, it allows you (_and encourages you_) to extend the functionality that is provided by this package.\n\n```php\nuse Aedart\\Streams\\FileStream;\n\nclass TranscriptFileStream extends FileStream\n{\n    // ...your domain-specific logic here ...\n}\n```\n\n## Documentation\n\nPlease read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.\n\n## Repository\n\nThe mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)\n\n## Versioning\n\nThis package follows [Semantic Versioning 2.0.0](http://semver.org/)\n\n## License\n\n[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-streams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faedart%2Fathenaeum-streams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faedart%2Fathenaeum-streams/lists"}