PHP Package: spatie/async

Spatie's async PHP library enables efficient asynchronous programming with ease and flexibility for better performance and scalability.

Current Version: 1.8.0
Last Updated: 2025-08-05
PHP Requirement: ^8.3
Dependencies:
spatie/async-lib1
spatie/async-lib2
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Discover the power of asynchronous PHP coding with spatie/async, a versatile library designed to streamline your development process. By leveraging asynchronous programming, you can enhance performance, concurrency, and responsiveness in your applications. Whether you're handling multiple I/O operations or improving user experience, this library empowers you to create efficient and scalable solutions.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.8.0

Download Download v1.8.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/async/1.8.0/loader.php';
require_once 'libs/spatie/async-lib1/{lib_version}/loader.php';
require_once 'libs/spatie/async-lib2/{lib_version}/loader.php';

use Spatie\Async\Class1;
use Spatie\Async\Class2;
use Spatie\Async\Lib1\Class3;

$obj = new Class1();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.