foxtech6/mutex-locker (packagist): MutexSafe will help you use mutex more effectively. Different mutex for different components are presented. In addition, you can add your own lockers and use within the library. 
Keywords: php|locking|lock|mutex|flock|locker|pdo-lock|memcached-lock|redis-lock|hacktoberfest