{"id":20678210,"url":"https://github.com/lewiscowles1986/php-ulid","last_synced_at":"2025-04-13T02:16:49.838Z","repository":{"id":62516927,"uuid":"64776388","full_name":"Lewiscowles1986/php-ulid","owner":"Lewiscowles1986","description":"Universally Unique Lexicographically Sortable Identifier ported to PHP","archived":false,"fork":false,"pushed_at":"2024-11-07T04:43:38.000Z","size":98,"stargazers_count":81,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T02:16:46.356Z","etag":null,"topics":["php","reference-implementation","ulid"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lewiscowles1986.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-02T17:10:24.000Z","updated_at":"2025-02-28T19:33:26.000Z","dependencies_parsed_at":"2024-11-07T05:30:31.749Z","dependency_job_id":null,"html_url":"https://github.com/Lewiscowles1986/php-ulid","commit_stats":{"total_commits":47,"total_committers":4,"mean_commits":11.75,"dds":0.5531914893617021,"last_synced_commit":"4027ce86c71e1fd7125a5dfa6561bae17cccd9ce"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewiscowles1986%2Fphp-ulid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewiscowles1986%2Fphp-ulid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewiscowles1986%2Fphp-ulid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewiscowles1986%2Fphp-ulid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lewiscowles1986","download_url":"https://codeload.github.com/Lewiscowles1986/php-ulid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654104,"owners_count":21140237,"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":["php","reference-implementation","ulid"],"created_at":"2024-11-16T21:19:25.811Z","updated_at":"2025-04-13T02:16:49.817Z","avatar_url":"https://github.com/Lewiscowles1986.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-ulid\nUniversally Unique Lexicographically Sortable Identifier ported to PHP\n\n[![PHP Composer](https://github.com/Lewiscowles1986/php-ulid/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/Lewiscowles1986/php-ulid/actions/workflows/php.yml)\n\nTests borrowed from [.NET port](https://github.com/fvilers/ulid.net)  \nOriginal idea borrowed from [JS](https://github.com/alizain/ulid)  \n\nLicense AGPL\n\n## Requirements\n\nPHP7.4+\n\n## Usage:\n\n`composer require lewiscowles/ulid`\n\n## Tests:\n\nTo generate the coverage report xdebug extension must be enabled for your PHP\n\n### Unit-test CLI\n\n`php vendor/bin/phpunit --coverage-html ./reports/ --whitelist src`\n\n### Mutation testing with infection\n\n`php vendor/bin/infection`\n\n### PHPStan\n\n`php vendor/bin/phpstan analyse src -l max`\n\n### Jenkins pipeline step for testing\n\n```Groovy\n    stage('Run Unit Tests in PHP') {\n        dir('ulid') {\n            sh 'php vendor/bin/phpunit --coverage-html ./reports/ --whitelist src'\n        }\n        publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'ulid/reports', reportFiles: 'index.html', reportName: 'PHPUnit Coverage'])\n    }\n```\n\n## Got an idea?\n\nCreate an issue, a PR, both (if possible) :smile_cat:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiscowles1986%2Fphp-ulid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewiscowles1986%2Fphp-ulid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiscowles1986%2Fphp-ulid/lists"}