{"id":17344918,"url":"https://github.com/jaredhowland/new-base-60","last_synced_at":"2025-10-03T23:59:37.182Z","repository":{"id":56996627,"uuid":"232644360","full_name":"jaredhowland/new-base-60","owner":"jaredhowland","description":"PHP library to convert base 10 numbers to new base 60 and back again","archived":false,"fork":false,"pushed_at":"2023-04-14T06:40:49.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T11:05:18.814Z","etag":null,"topics":["base60"],"latest_commit_sha":null,"homepage":"http://tantek.pbworks.com/w/page/19402946/NewBase60","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredhowland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T19:42:38.000Z","updated_at":"2023-10-12T16:05:21.000Z","dependencies_parsed_at":"2025-02-01T15:11:28.954Z","dependency_job_id":"d55bd653-4682-466a-8117-30177b830287","html_url":"https://github.com/jaredhowland/new-base-60","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jaredhowland/new-base-60","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhowland%2Fnew-base-60","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhowland%2Fnew-base-60/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhowland%2Fnew-base-60/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhowland%2Fnew-base-60/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredhowland","download_url":"https://codeload.github.com/jaredhowland/new-base-60/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredhowland%2Fnew-base-60/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278245393,"owners_count":25955016,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["base60"],"created_at":"2024-10-15T16:27:50.978Z","updated_at":"2025-10-03T23:59:37.155Z","avatar_url":"https://github.com/jaredhowland.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"New Base 60\n===========\n\nNew base 60 is a base 60 numbering system using only ASCII numbers and letters created by Tantek Çelik (see \u003chttp://tantek.pbworks.com/w/page/19402946/NewBase60\u003e for more information).\n\nThis PHP library converts between base 60 and base 10.\n\nInstalling\n==========\nUsing Composer:\n\n`composer require jaredhowland/new-base-60`\n\nOr add the following to your `composer.json` file:\n\n```\n\"require\": {\n    \"jaredhowland/new-base-60\": \"^1.0\"\n}\n```\n\nOtherwise, just include the file in your project:\n\n`require_once 'path/to/src/NewBase60.php';`\n\nUsage\n=====\nExample Usage:\n\n```\n\u003c?php\n\nuse NewBase60\\NewBase60;\n\nrequire_once 'src/NewBase60.php';\n\necho NewBase60::toNewBase60('20200108'); // Output: 1ZX8U\n\necho NewBase60::toBase10('1ZX8U'); // Output: 20200108\n\n// For the next methods, the second argument is the length of the padding to include\n// Based on PHP’s built-in `str_pad`\n\necho NewBase60::toNewBase60WithLeadingZeroes('20200108', 10); // Output: 000001ZX8U\n\necho NewBase60::toBase10WithLeadingZeroes('1ZX8U', 10); // Output: 0020200108\n```\n\nThat’s it. Those are the only 4 functions included in this library. Very basic, but complete, new base 60 support. See \u003chttp://tantek.pbworks.com/w/page/19402946/NewBase60\u003e for why you might want to use, or not use, new base 60 in a project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhowland%2Fnew-base-60","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredhowland%2Fnew-base-60","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhowland%2Fnew-base-60/lists"}