{"id":50336997,"url":"https://github.com/myerscode/utilities-random","last_synced_at":"2026-05-29T14:01:34.336Z","repository":{"id":349960675,"uuid":"809892789","full_name":"myerscode/utilities-random","owner":"myerscode","description":"A fluent PHP utility class to help create random values.","archived":false,"fork":false,"pushed_at":"2026-05-25T14:14:07.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-25T16:17:42.410Z","etag":null,"topics":["php-library","random","random-generation","utilities","utility","utility-library"],"latest_commit_sha":null,"homepage":"","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/myerscode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-03T16:45:08.000Z","updated_at":"2026-05-25T14:14:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/myerscode/utilities-random","commit_stats":null,"previous_names":["myerscode/utilities-random"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/myerscode/utilities-random","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myerscode%2Futilities-random","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myerscode%2Futilities-random/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myerscode%2Futilities-random/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myerscode%2Futilities-random/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myerscode","download_url":"https://codeload.github.com/myerscode/utilities-random/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myerscode%2Futilities-random/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33655441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":["php-library","random","random-generation","utilities","utility","utility-library"],"created_at":"2026-05-29T14:01:33.722Z","updated_at":"2026-05-29T14:01:34.324Z","avatar_url":"https://github.com/myerscode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Utilities\n\n\u003e A fluent PHP utility class to help create random values.\n\n\u003e ⚠️ This package is designed for generating random strings, codes, and identifiers — not for cryptographic purposes. Do not use it for passwords, tokens, or anything requiring cryptographic security.\n\n[![Latest Stable Version](https://poser.pugx.org/myerscode/utilities-random/v/stable)](https://packagist.org/packages/myerscode/utilities-random)\n[![Total Downloads](https://poser.pugx.org/myerscode/utilities-random/downloads)](https://packagist.org/packages/myerscode/utilities-random)\n[![PHP Version Require](http://poser.pugx.org/myerscode/utilities-random/require/php)](https://packagist.org/packages/myerscode/utilities-random)\n[![License](https://poser.pugx.org/myerscode/utilities-random/license)](https://github.com/myerscode/utilities-random/blob/main/LICENSE)\n[![Tests](https://github.com/myerscode/utilities-random/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/myerscode/utilities-random/actions/workflows/tests.yml)\n[![codecov](https://codecov.io/gh/myerscode/utilities-random/graph/badge.svg)](https://codecov.io/gh/myerscode/utilities-random)\n\n## Requirements\n\n- PHP 8.5+\n\n## Install\n\n```shell\ncomposer require myerscode/utilities-random\n```\n\n## Usage\n\n```php\nuse Myerscode\\Utilities\\Random\\Drivers\\AlphaNumericDriver;\nuse Myerscode\\Utilities\\Random\\Utility;\n\n$utility = new Utility(AlphaNumericDriver::class);\n\n// Generate a random string of length 5\n$random = $utility-\u003egenerate();\n\n// Generate with custom length\n$random = $utility-\u003elength(10)-\u003egenerate();\n\n// Generate chunked values\n$random = $utility-\u003elength(4)-\u003echunks(3)-\u003espacer('-')-\u003egenerate();\n// e.g. \"aB3x-Kp9z-mN2q\"\n\n// Generate unique values\n$unique = $utility-\u003elength(10)-\u003eunique();\n```\n\n## Documentation\n\n- [Usage](docs/usage.md) — full API reference and usage examples\n- [Drivers](docs/drivers.md) — built-in drivers and creating custom ones\n- [Constraints](docs/constraints.md) — constraining generation with pool filters and output constraints\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyerscode%2Futilities-random","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyerscode%2Futilities-random","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyerscode%2Futilities-random/lists"}