[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8202":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},8202,"reactphp","reactphp\u002Freactphp","Event-driven, non-blocking I\u002FO with PHP.","https:\u002F\u002Freactphp.org",null,"PHP",9087,715,359,0,4,6,39.56,"MIT License",false,"1.x",true,[23,5],"php","2026-06-12 02:01:50","\u003Cdiv align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Freactphp.org\">\u003Cimg src=\"https:\u002F\u002Frawgit.com\u002Freactphp\u002Fbranding\u002Fmaster\u002Freactphp-logo.svg\" alt=\"ReactPHP Logo\" width=\"160\">\u003C\u002Fa>\n\u003C\u002Fdiv>\n    \n\u003Cbr>\n    \n\u003Cdiv align=\"center\">\n    \u003Cstrong>Event-driven, non-blocking I\u002FO with PHP.\u003C\u002Fstrong>\n\u003C\u002Fdiv>\n\n\u003Cbr>\n\n\u003Cdiv align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Freactphp\u002Freactphp\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Freactphp\u002Freactphp\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\" alt=\"Build Status\">\u003C\u002Fa>\n\u003C\u002Fdiv>\n\n\u003Cbr>\n\nReactPHP is a low-level library for event-driven programming in PHP. At its core\nis an event loop, on top of which it provides low-level utilities, such as:\nStreams abstraction, async DNS resolver, network client\u002Fserver, HTTP\nclient\u002Fserver and interaction with processes. Third-party libraries can use these\ncomponents to create async network clients\u002Fservers and more.\n\n```php\n\u003C?php\n\n\u002F\u002F $ composer require react\u002Fhttp react\u002Fsocket # install example using Composer\n\u002F\u002F $ php example.php # run example on command line, requires no additional web server\n\nrequire __DIR__ . '\u002Fvendor\u002Fautoload.php';\n\n$server = new React\\Http\\HttpServer(function (Psr\\Http\\Message\\ServerRequestInterface $request) {\n    return React\\Http\\Message\\Response::plaintext(\n        \"Hello World!\\n\"\n    );\n});\n\n$socket = new React\\Socket\\SocketServer('127.0.0.1:8080');\n$server->listen($socket);\n\necho \"Server running at http:\u002F\u002F127.0.0.1:8080\" . PHP_EOL;\n```\n\nThis simple web server written in ReactPHP responds with \"Hello World!\" for every request.\n\nReactPHP is production ready and battle-tested with millions of installations\nfrom all kinds of projects around the world. Its event-driven architecture makes\nit a perfect fit for efficient network servers and clients handling hundreds or\nthousands of concurrent connections, long-running applications and many other\nforms of cooperative multitasking with non-blocking I\u002FO operations. What makes\nReactPHP special is its vivid ecosystem with hundreds of third-party libraries\nallowing you to integrate with many existing systems, such as common network\nservices, database systems and other third-party APIs.\n\n* **Production ready** and battle-tested.\n* **Rock-solid** with stable long-term support (LTS) releases.\n* **Requires no extensions** and runs on any platform - no excuses!\n* Takes advantage of **optional extensions** to get better performance when available.\n* **Highly recommends latest version of PHP 7+** for best performance and support.\n* **Supports legacy PHP 5.3+ and HHVM** for maximum compatibility.\n* **Well designed** and **reusable components**.\n* **Decoupled parts** so they can be replaced by alternate implementations.\n* Carefully **tested** (unit & functional).\n* Promotes **standard PSRs** where possible for maximum interoperability.\n* Aims to be **technology neutral**, so you can use your preferred application stack.\n* Small **core team of professionals** supported by **large network** of outside contributors.\n\nReactPHP is non-blocking by default. Use workers for blocking I\u002FO.\nThe event loop is based on the reactor pattern (hence the name) and strongly\ninspired by libraries such as EventMachine (Ruby), Twisted (Python) and\nNode.js (V8).\n\n> This repository you're currently looking at is mostly used as a meta\n  repository to discuss and plan all things @ReactPHP. See the individual\n  components linked below for more details about each component, its\n  documentation and source code.\n\n## Core Components\n\n* **EventLoop**\n  ReactPHP's core reactor event-loop.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fevent-loop)\n\n* **Stream**\n  Event-driven readable and writable streams for non-blocking I\u002FO in ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fstream)\n\n* **Promise**\n  Promises\u002FA implementation for PHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fpromise)\n\n* **Async**\n  Async utilities and fibers for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fasync)\n\n## Network Components\n\n* **Socket**\n  Async, streaming plaintext TCP\u002FIP and secure TLS socket server and client connections for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fsocket)\n\n* **Datagram**\n  Event-driven UDP client and server sockets for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fdatagram)\n\n* **HTTP**\n  Event-driven, streaming HTTP client and server implementation for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fhttp)\n\n* **DNS**\n  Async DNS resolver for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fdns)\n\n## Utility Components\n\n* **Cache**\n  Async caching for ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fcache)\n\n* **ChildProcess**\n  Library for executing child processes.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fchild-process)\n\n* **PromiseTimer**\n  Trivial timeout implementation for ReactPHP's Promise lib.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fpromise-timer)\n\n* **PromiseStream**\n  The missing link between Promise-land and Stream-land, built on top of ReactPHP.\n  [Read the documentation](https:\u002F\u002Fgithub.com\u002Freactphp\u002Fpromise-stream)\n\n## Built with ReactPHP\n\n* **Thruway**\n  PHP Client and Router Library for Autobahn and WAMP (Web Application Messaging\n  Protocol) for Real-Time Application Messaging\n  [voryx\u002FThruway](https:\u002F\u002Fgithub.com\u002Fvoryx\u002FThruway)\n\n* **PPM - PHP Process Manager**\n  PPM is a process manager, supercharger and load balancer for modern PHP\n  applications.\n  [php-pm\u002Fphp-pm](https:\u002F\u002Fgithub.com\u002Fphp-pm\u002Fphp-pm)\n\n* **php-ar-drone**\n  🚁 Port of node-ar-drone which allows user to control a Parrot AR Drone over\n  PHP\n  [jolicode\u002Fphp-ar-drone](https:\u002F\u002Fgithub.com\u002Fjolicode\u002Fphp-ar-drone)\n\n* **Ratchet**\n  Asynchronous WebSocket server\n  [ratchetphp\u002FRatchet](https:\u002F\u002Fgithub.com\u002Fratchetphp\u002FRatchet)\n\n* **Predis\\Async**\n  Asynchronous PHP client library for Redis built on top of ReactPHP\n  [nrk\u002Fpredis-async](https:\u002F\u002Fgithub.com\u002Fnrk\u002Fpredis-async)\n\n* **clue\u002Fredis-server**\n  A Redis server implementation in pure PHP\n  [clue\u002Fredis-server](https:\u002F\u002Fgithub.com\u002Fclue\u002Fphp-redis-server)\n\n[And many more on our wiki page »](https:\u002F\u002Fgithub.com\u002Freactphp\u002Freact\u002Fwiki\u002FUsers)\n\n## Articles\n\n* **Sergey Zhuk**\n  A series of articles covering ReactPHP: from the basics to the real\n  application examples.\n  [sergeyzhuk.me](http:\u002F\u002Fsergeyzhuk.me\u002Freactphp-series)\n\n* **Cees-Jan Kiewiet**\n  Blog series about several ReactPHP components and how they work.\n  [blog.wyrihaximus.net](http:\u002F\u002Fblog.wyrihaximus.net\u002Fcategories\u002Freactphp-series\u002F)\n\n* **Loïc Faugeron**\n  Super Speed Symfony - ReactPHP.\n  [gnugat.github.io](https:\u002F\u002Fgnugat.github.io\u002F2016\u002F04\u002F13\u002Fsuper-speed-sf-react-php.html)\n\n* **Marc J. Schmidt**\n  Bring High Performance Into Your PHP App (with ReactPHP).\n  [marcjschmidt.de](http:\u002F\u002Fmarcjschmidt.de\u002Fblog\u002F2014\u002F02\u002F08\u002Fphp-high-performance.html)\n  \n* **Marc Morera**\n  When ReactPHP meet Symfony\n  [medium.com\u002F@apisearch](https:\u002F\u002Fmedium.com\u002F@apisearch\u002Fsymfony-and-reactphp-series-82082167f6fb)\n\n## Talks\n\n* **Christian Lück**\n  [Pushing the limits with ReactPHP](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-5ZdGUvOqx4)\n\n* **Jeremy Mikola**\n  [Async PHP With React](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=s6xrnYae1FU)\n\n* **Igor Wiedler**\n  [Event-driven PHP](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=MWNcItWuKpI)\n\n## Getting started\n\nReactPHP consists of a set of individual [components](#core-components).\nThis means that instead of installing something like a \"ReactPHP framework\", you actually\npick only the components that you need.\n\nThis project follows [SemVer](https:\u002F\u002Fsemver.org\u002F) for all its stable components.\nThe recommended way to install these components is [through Composer](https:\u002F\u002Fgetcomposer.org\u002F).\n[New to Composer?](https:\u002F\u002Fgetcomposer.org\u002Fdoc\u002F00-intro.md)\n\nFor example, this may look something like this:\n\n```bash\n# recommended install: pick required components\ncomposer require react\u002Fevent-loop react\u002Fhttp\n```\n\nAs an alternative, we also provide a meta package that will install all stable\ncomponents at once. Installing this is only recommended for quick prototyping,\nas the list of stable components may change over time. This meta package can be\ninstalled like this:\n\n```bash\n# quick protoyping only: install all stable components\ncomposer require react\u002Freact:^1.4\n```\n\nFor more details, check out [ReactPHP's homepage](https:\u002F\u002Freactphp.org\u002F) for\nquickstart examples and usage details.\n\nSee also the combined [changelog for all ReactPHP components](https:\u002F\u002Freactphp.org\u002Fchangelog.html)\nfor details about version upgrades.\n\n## Support\n\nDo you have a question and need help with ReactPHP? Don't worry, we're here to help!\n\nAs a first step, check the elaborate documentation that comes with each\ncomponent (see links to individual documentation for each component above).\nIf you find your question is not answered within the documentation, there's a\nfair chance that it may be relevant to more people. Please do not hesitate to\nfile your question as an issue in the relevant component so others can also\nparticipate.\n\nYou can also check out our official [Gitter chat room](https:\u002F\u002Fgitter.im\u002Freactphp\u002Freactphp).\nMost of the people involved in this project are available in this chat room, so many\nquestions get answered in a few minutes to some hours. We also use this chat room\nto announce all new releases and ongoing development efforts, so consider\nstaying in this chat room for a little longer.\n\nAlso follow [@reactphp](https:\u002F\u002Ftwitter.com\u002Freactphp) on Twitter for updates.\nWe use this mostly for noteworthy, bigger updates and to keep the community\nupdated about ongoing development efforts. You can always use the `#reactphp`\nhashtag if you have anything to share!\n\nWe're a very open project and we prefer public communication whenever possible,\nso that more people can participate and help getting the best solutions available.\nAt the same time, we realize that some things are better addressed in private.\nWhether you just want to say *thank you*, want to report a security issue or\nwant to help sponsor a certain feature development, you can reach out to the\ncore team in private by sending an email to `support@reactphp.org`. Please keep in\nmind that we're a small team of volunteers and do our best to support anybody\nreaching out.\n\nDo you want to support ReactPHP? Awesome! Let's start with letting the the world\nknow why you think ReactPHP is awesome and try to help others getting on board!\nSend a tweet, write a blog post, give a talk at your local user group or\nconference or even write a book. There are many ways you can help. You can\nalways reach out to us in private and help others in our support channels.\nThank you!\n\n## Tests\n\nTo run the test suite, you first need to clone this repo and then install all\ndependencies [through Composer](https:\u002F\u002Fgetcomposer.org\u002F):\n\n```bash\ncomposer install\n```\n\nTo run the test suite, go to the project root and run:\n\n```bash\nvendor\u002Fbin\u002Fphpunit\n```\n\nThe test suite also contains a number of functional integration tests that rely\non a stable internet connection. Due to the vast number of integration tests,\nthese are skipped by default during CI runs. If you also do not want to run these,\nthey can simply be skipped like this:\n\n```bash\nvendor\u002Fbin\u002Fphpunit --exclude-group internet\n```\n\n## License\n\nMIT, see LICENSE.\n","ReactPHP 是一个用于 PHP 的事件驱动、非阻塞 I\u002FO 编程的底层库。其核心是一个事件循环，基于此提供了诸如流抽象、异步 DNS 解析器、网络客户端\u002F服务器、HTTP 客户端\u002F服务器以及与进程交互等低级实用工具。第三方库可以利用这些组件创建异步网络客户端\u002F服务器及其他应用。ReactPHP 适用于需要高效处理大量并发连接的场景，如构建高性能的网络服务或长时间运行的应用程序。它无需额外扩展即可在任何平台上运行，并且支持可选扩展以提升性能。ReactPHP 经过生产验证，具有稳定的长期支持版本，遵循 PSR 标准，确保了最大兼容性和互操作性。",2,"2026-06-11 03:16:45","top_language"]