{"id":21819362,"url":"https://github.com/dflydev/dflydev-base32-crockford","last_synced_at":"2025-06-16T04:38:39.761Z","repository":{"id":3077298,"uuid":"4100760","full_name":"dflydev/dflydev-base32-crockford","owner":"dflydev","description":"Encode/decode numbers using Douglas Crockford's Base32 Encoding","archived":false,"fork":false,"pushed_at":"2017-02-17T09:15:32.000Z","size":112,"stargazers_count":13,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T02:28:48.657Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dflydev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-22T00:56:36.000Z","updated_at":"2021-07-22T02:07:54.000Z","dependencies_parsed_at":"2022-09-12T14:22:31.818Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/dflydev-base32-crockford","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dflydev/dflydev-base32-crockford","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-base32-crockford","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-base32-crockford/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-base32-crockford/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-base32-crockford/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/dflydev-base32-crockford/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-base32-crockford/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260097372,"owners_count":22958190,"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-11-27T16:18:41.438Z","updated_at":"2025-06-16T04:38:39.698Z","avatar_url":"https://github.com/dflydev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Base32 Crockford Encoder and Decoder\n====================================\n\nA [Base32 Crockford](http://www.crockford.com/wrmg/base32.html) implementation\nfor PHP.\n\n\nExample\n-------\n\n    use Dflydev\\Base32\\Crockford\\Crockford;\n    \n    $encodedValue = Crockford::encode('519571'); // FVCK\n    $decodedValue = Crockford::decode('FVCK'); // 519571\n    \n    $encodedValue = Crockford::encodeWithChecksum('519571'); // FVCKH\n    $decodedValue = Crockford::decodeWithChecksum('FVCKH'); // 519571\n\nBy default, decoding will be lenient on the input values. This will\nallow for passing in the following:\n\n    $decodedValue = Crockford::decode('F-VCk'); // treated as: FVCK\n    $decodedValue = Crockford::decode('hEl1O'); // treated as: HE110\n\nSee [the spec](http://www.crockford.com/wrmg/base32.html) for the\ntranslation rules.\n\nDecoding can be made strict by passing an optional second argument\nto the decode methods.\n\n    Crockford::decode('F-VCk', Crockford::NORMALIZE_ERRMODE_EXCEPTION);\n    Crockford::decode('hEl1O', Crockford::NORMALIZE_ERRMODE_EXCEPTION);\n\n\nRequirements\n------------\n\n * PHP 5.3+\n\n\nLicense\n-------\n\nMIT, see LICENSE.\n\n\nCommunity\n---------\n\nIf you have questions or want to help out, join us in the\n[#dflydev](irc://irc.freenode.net/#dflydev) channel on irc.freenode.net.\n\n\nNot Invented Here\n-----------------\n\nThis is a port of [Encode::Base32::Crockford](https://github.com/gbarr/Encode-Base32-Crockford).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-base32-crockford","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fdflydev-base32-crockford","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-base32-crockford/lists"}