{"id":36977120,"url":"https://github.com/michaelcontento/simpleflake-php","last_synced_at":"2026-01-13T22:46:04.374Z","repository":{"id":19816555,"uuid":"23077157","full_name":"michaelcontento/simpleflake-php","owner":"michaelcontento","description":"Distributed ID generation in *PHP* for the lazy.","archived":true,"fork":false,"pushed_at":"2015-12-07T09:15:07.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T19:16:16.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/michaelcontento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-18T15:51:51.000Z","updated_at":"2024-05-01T19:16:16.751Z","dependencies_parsed_at":"2022-07-23T04:16:20.068Z","dependency_job_id":null,"html_url":"https://github.com/michaelcontento/simpleflake-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michaelcontento/simpleflake-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fsimpleflake-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fsimpleflake-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fsimpleflake-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fsimpleflake-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelcontento","download_url":"https://codeload.github.com/michaelcontento/simpleflake-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcontento%2Fsimpleflake-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-13T22:46:04.319Z","updated_at":"2026-01-13T22:46:04.366Z","avatar_url":"https://github.com/michaelcontento.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simpleflake-PHP\n\nTravis Status: [![Build Status](https://secure.travis-ci.org/michaelcontento/simpleflake-php.png?branch=master)](http://travis-ci.org/michaelcontento/simpleflake-php)\n\n\nDistributed ID generation in PHP for the lazy. Based on the awesome [python implementation][simpleflake-py] from [SawdustSoftware][].\n\nYou can read an overview of what this does and why it came into being at the [Sawdust Software Blog][desc].\n\n# Usage\n\n```PHP\n\u003c?php\n\nrequire \"simpleflake.php\";\n\n$newId = \\simpleflake\\generate();\necho \"ID: $newId\\n\";\n\n$parts = \\simpleflake\\parse($newId);\necho \"Timestamp:  \" . $parts[\"timestamp\"] . \"\\n\";\necho \"RandomBits: \" . $parts[\"randomBits\"] . \"\\n\";\n```\n\n[desc]: http://engineering.custommade.com/simpleflake-distributed-id-generation-for-the-lazy/\n[simpleflake-py]: https://github.com/SawdustSoftware/simpleflake\n[SawdustSoftware]: http://sawdustsoftware.com/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcontento%2Fsimpleflake-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelcontento%2Fsimpleflake-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcontento%2Fsimpleflake-php/lists"}