diff --git a/bin/composer.phar b/bin/composer.phar old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json index df85fd1..90af5da 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ "php": ">=7.1.0", "ext-curl": "*", "ext-gd": "*", + "ext-gmp": "*", "ext-json": "*", "ext-pdo": "*", "asika/simple-console": "^1.0", @@ -25,6 +26,7 @@ "byjg/webrequest": "^1.0", "gettext/gettext": "^4.6", "gofabian/negotiation-middleware": "^0.1.3", + "hashids/hashids": "^2.0", "laminas/laminas-escaper": "^2.6", "masterminds/html5": "^2.3", "monolog/monolog": "^1.17", diff --git a/composer.lock b/composer.lock index 972e764..73f3cc0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a8bc1750aa6136e10ea28799a0974f6b", + "content-hash": "30ffd18b9855dbdef6e4bf6a3cd775da", "packages": [ { "name": "asika/simple-console", @@ -783,6 +783,72 @@ ], "time": "2017-02-22T18:45:01+00:00" }, + { + "name": "hashids/hashids", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/vinkla/hashids.git", + "reference": "7a945a5192d4a5c8888364970feece9bc26179df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vinkla/hashids/zipball/7a945a5192d4a5c8888364970feece9bc26179df", + "reference": "7a945a5192d4a5c8888364970feece9bc26179df", + "shasum": "" + }, + "require": { + "php": "^5.6.4 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.3" + }, + "suggest": { + "ext-bcmatch": "Required to use BC Math arbitrary precision mathematics (*).", + "ext-gmp": "Required to use GNU multiple precision mathematics (*)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "psr-4": { + "Hashids\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ivan Akimov", + "email": "ivan@barreleye.com", + "homepage": "https://twitter.com/IvanAkimov" + }, + { + "name": "Vincent Klaiber", + "email": "hello@vinkla.com", + "homepage": "https://vinkla.com" + } + ], + "description": "Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers", + "homepage": "http://hashids.org/php", + "keywords": [ + "bitly", + "decode", + "encode", + "hash", + "hashid", + "hashids", + "ids", + "obfuscate", + "youtube" + ], + "time": "2017-10-28T11:24:20+00:00" + }, { "name": "laminas/laminas-escaper", "version": "2.6.1", @@ -4070,6 +4136,7 @@ "php": ">=7.1.0", "ext-curl": "*", "ext-gd": "*", + "ext-gmp": "*", "ext-json": "*", "ext-pdo": "*" },