sync
Non-blocking synchronization primitives for PHP based on Amp and Revolt.
File Explorer
Download Latest Version (.zip)- ci.yml
- channel.php
- mutex.php
- parcel.php
- synchronized.php
- ConcurrentIteratorChannel.php
- Barrier.php
- Channel.php
- ChannelException.php
- functions.php
- KeyedMutex.php
- KeyedSemaphore.php
- LocalKeyedMutex.php
- LocalKeyedSemaphore.php
- LocalMutex.php
- LocalParcel.php
- LocalSemaphore.php
- Lock.php
- Mutex.php
- Parcel.php
- ParcelException.php
- PosixSemaphore.php
- PrefixedKeyedMutex.php
- PrefixedKeyedSemaphore.php
- PriorityQueue.php
- RateLimitingSemaphore.php
- Semaphore.php
- SemaphoreMutex.php
- SharedMemoryParcel.php
- StaticKeyMutex.php
- StaticKeySemaphore.php
- SyncException.php
- unlock-finally-force-closed.phpt
- unlock-finally.phpt
- AbstractKeyedMutexTest.php
- AbstractKeyedSemaphoreTest.php
- AbstractMutexTest.php
- AbstractParcelTest.php
- AbstractSemaphoreTest.php
- BarrierTest.php
- LocalKeyedMutexTest.php
- LocalKeyedSemaphoreTest.php
- LocalMutexTest.php
- LocalParcelTest.php
- LocalSemaphoreTest.php
- LockTest.php
- PosixSemaphoreTest.php
- PrefixedKeyedMutexTest.php
- PrefixedKeyedSemaphoreTest.php
- PriorityQueueTest.php
- RateLimitingSemaphoreTest.php
- SemaphoreMutexTest.php
- SharedMemoryParcelTest.php
- StaticKeyMutexTest.php
- StaticKeySemaphoreTest.php
- SynchronizedTest.php
- .gitattributes
- .gitignore
- .php-cs-fixer.dist.php
- composer-require-check.json
- composer.json
- LICENSE
- phpunit.xml.dist
- psalm.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/amphp/sync
Downloads the entire project code from GitHub to your computer.
cd sync
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require amphp/sync
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
