{"id":91429,"library":"spatie-async","title":"Spatie Async","description":"Asynchronous and parallel PHP execution using the PCNTL extension.","status":"active","version":"1.8.2","language":"php","source_language":null,"source_url":"https://github.com/spatie/async","tags":["async","parallel","pcntl","concurrency"],"install":[{"cmd":"composer require spatie/async","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Pool","correct":"use Spatie\\Async\\Pool;"}],"quickstart":{"code":"use Spatie\\Async\\Pool;\n\n$pool = Pool::create();\n$pool->add(function () {\n    return 1 + 1;\n})->then(function ($output) {\n    echo $output;\n});\n$pool->wait();","lang":"php","description":"Run a simple async task"},"warnings":[{"fix":"Ensure the pcntl extension is installed and enabled.","message":"Requires pcntl extension which is not available on Windows or some shared hosts.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'async':2,12 'asynchron':3 'concurr':15 'execut':7 'extens':11 'parallel':5,13 'pcntl':10,14 'php':6 'spati':1 'use':8","created_at":"2026-06-19T09:17:38.360842+00:00","updated_at":"2026-06-19T09:17:38.360842+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/spatie/async","github":"https://github.com/spatie/async","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["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}}