{"id":41819795,"url":"https://github.com/kraken-php/loop","last_synced_at":"2026-01-25T07:40:18.008Z","repository":{"id":57009036,"uuid":"68309121","full_name":"kraken-php/loop","owner":"kraken-php","description":"[DEPRECATED] Kraken\\Loop component, standalone part of kraken-php/framework. ","archived":false,"fork":false,"pushed_at":"2017-06-17T17:48:33.000Z","size":34,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-16T03:10:17.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kraken-php.com","language":"PHP","has_issues":false,"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/kraken-php.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":"2016-09-15T16:00:53.000Z","updated_at":"2023-11-14T06:12:40.000Z","dependencies_parsed_at":"2022-08-21T14:31:36.737Z","dependency_job_id":null,"html_url":"https://github.com/kraken-php/loop","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/kraken-php/loop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraken-php%2Floop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraken-php%2Floop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraken-php%2Floop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraken-php%2Floop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kraken-php","download_url":"https://codeload.github.com/kraken-php/loop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraken-php%2Floop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28747896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2026-01-25T07:40:17.915Z","updated_at":"2026-01-25T07:40:17.991Z","avatar_url":"https://github.com/kraken-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kraken Loop Component\n\n[![Build Status](https://travis-ci.org/kraken-php/framework.svg)](https://travis-ci.org/kraken-php/framework)\n[![Total Downloads](https://poser.pugx.org/kraken-php/loop/downloads)](https://packagist.org/packages/kraken-php/loop) \n[![Latest Stable Version](https://poser.pugx.org/kraken-php/loop/v/stable)](https://packagist.org/packages/kraken-php/loop) \n[![Latest Unstable Version](https://poser.pugx.org/kraken-php/loop/v/unstable)](https://packagist.org/packages/kraken-php/loop) \n[![License](https://poser.pugx.org/kraken-php/framework/license)](https://packagist.org/packages/kraken-php/framework)\n[![Kraken Compatible](https://img.shields.io/badge/kraken-compatible-6b02af.svg)](https://github.com/kraken-php/framework)\n\n\u003e **Note:** This repository is a part of [Kraken Framework][3], but **can be used freely as standalone library**. If you \nare interested in more asynchronous components for PHP, check out the rest of [Kraken repository][5] or see our \n[asynchronous application skeleton][4] example.\n\n## Description\n\nLoop is a component that provides abstraction layer for writing asynchronous code in PHP on single thread or process\nwith usage of single or multiple loops.\n\n## Feature Highlights\n\nLoop features:\n\n* Interface for writing asynchronous code on single Thread or Process,\n* File descriptor polling,\n* One-time and periodic timers,\n* Deferred execution of callbacks,\n* Support for StreamSelect -based loops,\n* ~~Support for LibEvent -based loops~~,\n* ~~Support for LibEv -based loops~~,\n* ~~Support for ExtEvent -based loops~~,\n* Support for using multiple loops with multiple execution flows,\n* Support for switching between loops and importing/exporting its unfinished queues,\n* ReactPHP compatibility,\n* ReactPHP EventLoop adapters,\n* Kraken Framework compatibility,\n* ...and more.\n\n## Examples\n\nSee more examples in [official documentation][2].\n\n## Requirements\n\n* PHP-5.6 or PHP-7.0+,\n* UNIX or Windows OS.\n\n## Installation\n\n```\ncomposer require kraken-php/loop\n```\n\n## Tests\n\nTests are provided within our write-only [Framework repository][3].\n\n## Documentation\n\nDocumentation for this module can be found in the [official documentation][2].\n\n## Contributing\n\nThis library is read-only subtree split of Kraken Framework. To make contributions, please go to [Framework repository][3].\n\n## License\n\nThis library licensed under the MIT license, see more information in [Kraken Framework][3] license section.\n\n[1]: http://kraken-php.com\n[2]: http://kraken-php.com/docs/api-log\n[3]: https://github.com/kraken-php/framework\n[4]: https://github.com/kraken-php/kraken\n[5]: https://github.com/kraken-php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkraken-php%2Floop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkraken-php%2Floop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkraken-php%2Floop/lists"}