[Composer] Add hashids/hashids dependency

- Add ext-gmp dependency
- Make bin/composer.phar executable
This commit is contained in:
Hypolite Petovan 2022-01-05 14:55:54 +01:00
parent 5a16bcb57c
commit 596dc79c78
3 changed files with 70 additions and 1 deletions

0
bin/composer.phar Normal file → Executable file
View file

View file

@ -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",

69
composer.lock generated
View file

@ -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": "*"
},