{"id":26442740,"url":"https://github.com/ahmard/reactphp-querylist","last_synced_at":"2025-07-24T23:02:21.340Z","repository":{"id":56942460,"uuid":"413994916","full_name":"Ahmard/reactphp-querylist","owner":"Ahmard","description":"This library brought ReactPHP and QueryList together","archived":false,"fork":false,"pushed_at":"2022-12-30T02:43:21.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T05:04:44.109Z","etag":null,"topics":["php-async","php-async-scrapper","php-scraper","querylist","reactphp","reactphp-http"],"latest_commit_sha":null,"homepage":"","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/Ahmard.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":"2021-10-05T22:18:44.000Z","updated_at":"2021-11-19T10:19:47.000Z","dependencies_parsed_at":"2023-01-31T10:30:48.663Z","dependency_job_id":null,"html_url":"https://github.com/Ahmard/reactphp-querylist","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmard%2Freactphp-querylist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmard%2Freactphp-querylist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmard%2Freactphp-querylist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmard%2Freactphp-querylist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahmard","download_url":"https://codeload.github.com/Ahmard/reactphp-querylist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244201487,"owners_count":20415087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["php-async","php-async-scrapper","php-scraper","querylist","reactphp","reactphp-http"],"created_at":"2025-03-18T10:29:57.477Z","updated_at":"2025-03-18T10:29:58.020Z","avatar_url":"https://github.com/Ahmard.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactPHP QueryList\n\nThis library brought [ReactPHP](https://github.com/reactphp/http) and [QueryList](https://github.com/jae-jae/QueryList)\ntogether.\n\n## Installation\n\n```\ncomposer require ahmard/reactphp-querylist\n```\n\n## Usage\n\n- Playing with **QueryList**(scraping)\n```php\nuse ReactphpQuerylist\\Client;\nuse ReactphpQuerylist\\Queryable;\n\nrequire 'vendor/autoload.php';\n\nClient::get('https://google.com')\n    -\u003ethen(function (Queryable $queryable){\n        $title = $queryable-\u003equeryList()-\u003efind('head title')-\u003etext();\n        var_dump($title);\n    })\n    -\u003eotherwise(function ($error){\n        echo $error;\n    });\n```\n\n- Working with response object\n```php\nuse ReactphpQuerylist\\Client;\nuse ReactphpQuerylist\\Queryable;\n\nrequire 'vendor/autoload.php';\n\nClient::get('https://google.com')\n    -\u003ethen(function (Queryable $queryable){\n        var_dump($queryable-\u003eresponse()-\u003egetReasonPhrase());\n    })\n    -\u003eotherwise(function ($error){\n        echo $error;\n    });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmard%2Freactphp-querylist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmard%2Freactphp-querylist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmard%2Freactphp-querylist/lists"}