{"id":17446307,"url":"https://github.com/furiosojack/hashids-integer","last_synced_at":"2025-10-19T18:06:51.984Z","repository":{"id":62508043,"uuid":"252532938","full_name":"FuriosoJack/hashids-integer","owner":"FuriosoJack","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-09T00:50:51.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T04:44:13.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FuriosoJack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-02T18:17:56.000Z","updated_at":"2020-04-09T00:49:57.000Z","dependencies_parsed_at":"2022-11-02T12:46:12.817Z","dependency_job_id":null,"html_url":"https://github.com/FuriosoJack/hashids-integer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuriosoJack%2Fhashids-integer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuriosoJack%2Fhashids-integer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuriosoJack%2Fhashids-integer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuriosoJack%2Fhashids-integer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuriosoJack","download_url":"https://codeload.github.com/FuriosoJack/hashids-integer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966926,"owners_count":20701759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-17T18:42:59.126Z","updated_at":"2025-10-19T18:06:46.931Z","avatar_url":"https://github.com/FuriosoJack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hashids-integer\nEste paquete es una copia del puete de [amamarul](https://github.com/amamarul/integer-hashids).\n\nThis package is a copy of the [amamarul](https://github.com/amamarul/integer-hashids) bridge.\n\nCon este paquete se pueden construir un string aleatorio a partir de un array de numeros enteros.\n\nWith this package you can build a random string from an array of integers.\n\n## Instalacion\n\n### Composer require\n``` bash\n$ composer require furiosojack/hashids-integer\n```\n\n## Uso  \n  - salt: is a phrase string.\n  - minLength: Number min of characters you need\n  - alphabet: you can set any character to make the hash, but if you want integer hashid keep the same ('0123456789').\n  - prefix: if you want a prefixed hashid you can add the prefix, if not you can omit it or delete the parameter.\n  - prefix-separator: If you use a prefix maybe do you want to use a prefix separator. If not leave empty ('').\n  \n ``` php\n    use FuriosoJack\\HashidsInteger\\Core\\HashidsInteger;\n\n     $hashers = new HashidsInteger(\"{/SvFtGNUZNw'aT$/'.t\",10,\"1234567890\");\n     $dcode = $hashers-\u003eencode([1,579144]);   \n    // output: 49274776074\n\n    $hashers = new HashidsInteger(\"{/SvFtGNUZNw'aT$/'.t\",10,\"abcdefghijklmnopq\");\n    $output = $hashers-\u003eencode([4,2]);\n    //output: kjngeqfbgd\n\n    $hashers = new HashidsInteger(\"{/SvFtGNUZNw'aT$/'.t\",10,\"abcdefghijklmnopq\",\"hash\");\n    $output = $hasers-\u003eencode([4,2,15,21]);\n    //output:hash-npfeiemcbq\n    \n    $hashers-\u003edecode(\"hash-npfeiemcbq\");\n    //output: array(4,2,15,21)\n    \n  ```\n\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuriosojack%2Fhashids-integer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuriosojack%2Fhashids-integer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuriosojack%2Fhashids-integer/lists"}