{"id":19845514,"url":"https://github.com/dypa/phpmulticurl","last_synced_at":"2025-05-01T21:30:41.903Z","repository":{"id":56973842,"uuid":"12804585","full_name":"dypa/phpmulticurl","owner":"dypa","description":"Ultra fast OOP wrapper for curl_multi_* functions.","archived":false,"fork":false,"pushed_at":"2020-03-07T06:45:11.000Z","size":44,"stargazers_count":14,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-09T20:07:49.619Z","etag":null,"topics":["curl","multicurl","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dypa.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}},"created_at":"2013-09-13T08:07:31.000Z","updated_at":"2024-07-14T17:02:32.000Z","dependencies_parsed_at":"2022-08-21T11:50:11.466Z","dependency_job_id":null,"html_url":"https://github.com/dypa/phpmulticurl","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dypa%2Fphpmulticurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dypa%2Fphpmulticurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dypa%2Fphpmulticurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dypa%2Fphpmulticurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dypa","download_url":"https://codeload.github.com/dypa/phpmulticurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278478,"owners_count":17285080,"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":["curl","multicurl","php"],"created_at":"2024-11-12T13:08:17.976Z","updated_at":"2024-11-12T13:08:18.502Z","avatar_url":"https://github.com/dypa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhpMultiCurl\n\n[![Latest Stable Version](https://poser.pugx.org/dypa/phpmulticurl/v/stable.png)](https://packagist.org/packages/dypa/phpmulticurl)\n[![License](https://poser.pugx.org/dypa/phpmulticurl/license.png)](https://packagist.org/packages/dypa/phpmulticurl)\n[![Total Downloads](https://poser.pugx.org/dypa/phpmulticurl/downloads.png)](https://packagist.org/packages/dypa/phpmulticurl)\n\nUltra fast non-blocking OOP wrapper for `curl_multi_*` functions.\n\n__Pull requests are very welcome.__\n\n## Main features:\n\n* **reuse curl resource**\n* don't waste time on unnecessary cycles, careful works with select function\n* simple queue management\n* fully configured! supports callbacks onLoad, onError, full control on http headers\n* simple usage\n* few tests, no docs :( sorry :(\n\n## Requires:\n\n* php \u003e= 7.1\n* ext-curl\n* safe_mode = Off\n\n## Installation via [Composer](https://getcomposer.org):\n\n* install [Composer](https://getcomposer.org)\n* run `composer require dypa/phpMultiCurl`\n\n## Tests\n\n```sh\n$ vendor/bin/phpunit tests\n\n# or via Docker\n$ docker run --rm \\\n             -it \\\n             -v \"$(pwd)\":/app \\\n             -w /app \\\n             php:7.1 \\\n             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests\n$ docker run --rm \\\n             -it \\\n             -v \"$(pwd)\":/app \\\n             -w /app \\\n             php:7.2 \\\n             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests\n$ docker run --rm \\\n             -it \\\n             -v \"$(pwd)\":/app \\\n             -w /app \\\n             php:7.3 \\\n             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests\n$ docker run --rm \\\n             -it \\\n             -v \"$(pwd)\":/app \\\n             -w /app \\\n             php:7.4 \\\n             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests\n```\n\n## Examples\n\n* [load many urls parallel](https://github.com/dypa/phpmulticurl/blob/master/examples/example0.php)\n* [working with options and response](https://github.com/dypa/phpmulticurl/blob/master/examples/example1.php)\n* [load urls in callbacks](https://github.com/dypa/phpmulticurl/blob/master/examples/example2.php)\n\n## Contributing\n\nFork the project, create a feature branch and send us a pull request.\n\nTo ensure a consistent code base, you should make sure the code follows\nthe [PSR-*](http://www.php-fig.org/psr) coding standards.\n\nTo avoid CS issues, you should use [php-cs-fixer](http://cs.sensiolabs.org):\n\n```sh\n$ php-cs-fixer fix src/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdypa%2Fphpmulticurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdypa%2Fphpmulticurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdypa%2Fphpmulticurl/lists"}