PHP Classes
elePHPant
Icontem

File: composer.json

Recommend this page to a friend!
  Classes of Kamil Dziedzic  >  Ninja Mutex  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Composer requires
Class: Ninja Mutex
Lock resources to prevent simultaneous accesses
Author: By
Last change: re-arrange parameters to be inline with PDO::__construct()
Also rename class to force updating parameters
Merge remote-tracking branch 'origin/pr/32' into pr32
update deps
Merge remote-tracking branch 'origin/pr/23' into pr23
Requiring phpunit as a dev dependencies so devs don't have to have it globally installed
Move tests to their own namespace and use PSR-4 autoloader
Update to PSR-4 autoloader
Updated composer dependencies to allow minor version increments
Merge pull request #13 from arvenil/issue12_add_expire_for_memcache

#12: Add expiration time for memcache lock storage
Date: 3 months ago
Size: 1,414 bytes
 

Contents

Class file image Download
{
    "name": "arvenil/ninja-mutex",
    "description": "Simple to use mutex implementation that can use flock, memcache, memcached, mysql or redis for locking",
    "homepage" : "https://github.com/arvenil/ninja-mutex",
    "keywords" : ["mutex", "lock", "locking", "flock", "memcache", "memcached", "mysql", "redis"],
    "license": "MIT",
    "authors": [
        {
            "name": "Kamil Dziedzic",
            "email": "arvenil@klecza.pl"
        }
    ],
    "autoload": {
        "psr-4": {
            "NinjaMutex\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "NinjaMutex\\Tests\\": "tests"
        }
    },
    "require": {
        "php": ">=5.3.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^4.8 || ^5.5 || ^5.6 || ^5.7",
        "codeclimate/php-test-reporter": "^0.1 || ^0.3 || ^0.4",
        "scrutinizer/ocular": "^1.1 || ^1.3 || ^1.4",
        "mikey179/vfsStream": "^1.4 || ^1.5 || ^1.6",
        "predis/predis": "^1.0 || ^1.1",
        "ext-memcache": "*",
        "ext-memcached": "*",
        "ext-pdo_mysql": "*",
        "ext-redis": "*"
    },
    "suggest" : {
        "predis/predis" : "Create mutex using Predis (client library for Redis)",
        "ext-memcache": "Create mutex using memcache extension",
        "ext-memcached": "Create mutex using memcached extension",
        "ext-pdo_mysql": "Create mutex using MySQL PDO"
    }
}