PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Eric Sizemore   Consistent Hashing   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Consistent Hashing
Store values in a table using consistent hashing
Author: By
Last change: refactor: remove the need for psalm baseline

also refreshes composer.lock
refactor: add some improvements to phpbench benchmarks
feat: add Fnv1-a hasher
Date: 2 days ago
Size: 4,371 bytes
 

Contents

Class file image Download
{ "name": "esi/consistent-hash", "description": "ConsistentHash is a small library which implements consistent hashing. Modernized fork of flexihash/flexihash.", "license": "MIT", "type": "library", "keywords": [ "php", "consistent", "hash", "consistent-hash", "consistent-hashing" ], "authors": [ { "name": "Eric Sizemore", "email": "admin@secondversion.com", "homepage": "https://www.secondversion.com", "role": "Developer" }, { "name": "Paul Annesley", "email": "paul@annesley.cc", "homepage": "https://paul.annesley.cc", "role": "flexihash/flexihash Developer" }, { "name": "Dom Morgan", "email": "dom@d3r.com", "homepage": "https://d3r.com", "role": "flexihash/flexihash Developer" } ], "homepage": "https://github.com/ericsizemore/consistent-hash", "support": { "issues": "https://github.com/ericsizemore/consistent-hash/issues", "forum": "https://github.com/ericsizemore/consistent-hash/discussions", "source": "https://github.com/ericsizemore/consistent-hash/tree/main", "docs": "https://github.com/ericsizemore/consistent-hash", "rss": "https://github.com/ericsizemore/consistent-hash/releases.atom", "security": "https://github.com/ericsizemore/consistent-hash/security/policy" }, "require": { "php": "^8.2", "ext-hash": "*" }, "require-dev": { "esi/phpunit-coverage-check": "^2.0", "friendsofphp/php-cs-fixer": "^3.65", "phpbench/phpbench": "^1.3", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.0", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^11.5", "psalm/plugin-phpunit": "^0.19.0", "vimeo/psalm": "dev-master" }, "minimum-stability": "dev", "prefer-stable": true, "autoload": { "psr-4": { "Esi\\ConsistentHash\\": "src/" } }, "autoload-dev": { "psr-4": { "Esi\\ConsistentHash\\Tests\\": "tests/" } }, "config": { "allow-plugins": { "phpstan/extension-installer": true } }, "extra": { "branch-alias": { "dev-main": "1.x-dev" } }, "scripts": { "analyze": [ "@clear-build", "@composer validate", "@phpunit", "@code-coverage", "@psalm:shepherd", "@psalm:security", "@phpstan" ], "benchmark": "vendor/bin/phpbench run --report=aggregate --iterations=4 --retry-threshold=5", "benchmark:chart": "vendor/bin/phpbench run --report=hashing --iterations=4 --retry-threshold=5", "benchmark:chart:opcache": "vendor/bin/phpbench run --report=hashing --iterations=4 --retry-threshold=5 --php-config=\"opcache.enable: 1, opcache.enable_cli: 1\"", "benchmark:opcache": "vendor/bin/phpbench run --report=aggregate --iterations=4 --retry-threshold=5 --php-config=\"opcache.enable: 1, opcache.enable_cli: 1\"", "clear-build": "rm -rf ./build/*", "code-coverage": "vendor/bin/coverage-check build/logs/clover.xml 97", "phpcs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff", "phpcs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php", "phpstan": "vendor/bin/phpstan analyse -c phpstan.neon -vvv", "phpstan:baseline": "vendor/bin/phpstan --generate-baseline=phpstan-baseline.neon", "phpunit": "vendor/bin/phpunit", "phpunit:benchmark": "vendor/bin/phpunit --group benchmark --no-coverage", "phpunit:migrate": "@phpunit --migrate-configuration", "psalm": "vendor/bin/psalm -c psalm.xml --no-cache", "psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml", "psalm:withinfo": "@psalm --no-diff --show-info=true", "psalm:security": "vendor/bin/psalm -c psalm.xml --no-cache --taint-analysis", "psalm:shepherd": "@psalm --no-diff --shepherd --stats" } }