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