iainconnor / composer-pthreads
PThreads with the Composer autoloader baked in.
Installs: 113
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/iainconnor/composer-pthreads
Requires
- ext-pthreads: ^3.1
Requires (Dev)
- phpunit/phpunit: ^6.2
This package is not auto-updated.
Last update: 2025-09-28 09:30:05 UTC
README
A simple library to demonstrate how to use PThreads in conjunction with the Composer AutoLoader.
Installation
From composer, composer require iainconnor/composer-pthreads
.
Usage
Just use or extend the provided AutoloadWorker
Class in place of your normal \Worker
.
See ComposerWorkerTest.php for a full example.