Process locker
github.com/HopeUA/locker
Source
Issues
Installs: 988
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Requires
Requires (Dev)
Suggests
None
Provides
Conflicts
Replaces
MIT bbd36573e5815fd910a3dd89a0f2ee1c1ca5ad8d
locker
This package is not auto-updated.
Last update: 2024-12-21 17:07:03 UTC
$locker = new FileLocker('large-process', ['lockDir' => '/tmp/lock']); if ($locker->isLocked()) { die('Already locked'); } $locker->lock(); ... some code ... $locker->unlock();