{"id":92666,"library":"react-mysql","title":"React MySQL","description":"Async MySQL database client for ReactPHP.","status":"active","version":"0.6.0","language":"php","source_language":null,"source_url":"https://github.com/friends-of-reactphp/mysql","tags":["mysql","async","reactphp","database","non-blocking"],"install":[{"cmd":"composer require react/mysql","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ConnectionInterface","correct":"use React\\MySQL\\ConnectionInterface;"}],"quickstart":{"code":"use React\\MySQL\\ConnectionInterface;\n\n$loop = React\\EventLoop\\Loop::get();\n$factory = new React\\MySQL\\Factory($loop);\n$connection = $factory->createLazyConnection('user:pass@localhost/db');\n$connection->query('SELECT * FROM users')->then(function (QueryResult $result) {\n    var_dump($result->resultRows);\n});\n$loop->run();","lang":"php","description":"Create an async MySQL connection and run a query."},"warnings":[{"fix":"Ensure PHP version >= 7.4 and install react/event-loop","message":"Requires PHP 7.4+ and ReactPHP event loop","severity":"breaking","affected_versions":">=0.6.0"}],"env_vars":null,"search_vec":"'async':3,10 'block':15 'client':6 'databas':5,12 'mysql':2,4,9 'non':14 'non-block':13 'react':1 'reactphp':8,11","created_at":"2026-06-19T09:36:21.660382+00:00","updated_at":"2026-06-19T09:36:21.660382+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/friends-of-reactphp/mysql","github":"https://github.com/friends-of-reactphp/mysql","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}