{"id":13405208,"url":"https://github.com/gladchinda/keygen-php","last_synced_at":"2025-04-06T18:17:08.585Z","repository":{"id":60774526,"uuid":"78545289","full_name":"gladchinda/keygen-php","owner":"gladchinda","description":"A fluent PHP random key generator.","archived":false,"fork":false,"pushed_at":"2019-01-15T08:09:40.000Z","size":71,"stargazers_count":118,"open_issues_count":3,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T14:45:33.706Z","etag":null,"topics":["composer","generator","key","keygen","packagist","php","pseudo-random","random"],"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/gladchinda.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":"2017-01-10T15:15:44.000Z","updated_at":"2024-09-05T03:45:01.000Z","dependencies_parsed_at":"2022-10-04T15:39:55.785Z","dependency_job_id":null,"html_url":"https://github.com/gladchinda/keygen-php","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fkeygen-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fkeygen-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fkeygen-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fkeygen-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gladchinda","download_url":"https://codeload.github.com/gladchinda/keygen-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526768,"owners_count":20953143,"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":["composer","generator","key","keygen","packagist","php","pseudo-random","random"],"created_at":"2024-07-30T19:01:57.321Z","updated_at":"2025-04-06T18:17:08.563Z","avatar_url":"https://github.com/gladchinda.png","language":"PHP","readme":"# Keygen\n\u003e A fluent PHP random key generator.\n\n[![Packagist](https://img.shields.io/packagist/v/gladcodes/keygen.svg)](https://packagist.org/packages/gladcodes/keygen) [![Packagist](https://img.shields.io/packagist/dt/gladcodes/keygen.svg)](https://packagist.org/packages/gladcodes/keygen) [![Packagist](https://img.shields.io/packagist/l/gladcodes/keygen.svg)]()\n\nKeygen is a PHP package that generates random character sequences known as *keys*. The package ships with built-in key generators for four key types namely: *numeric*, *alphanumeric*, *token* and *byte*. Its implementation effectively combines simplicity and expressiveness.\n\n## Installation\n\n### With Composer\nThe Keygen package can be installed easily with [Composer] - require the `gladcodes/keygen` package from the command line.\n\n```shell\n$ composer require gladcodes/keygen\n```\n\nAlternatively, you can manually add the Keygen package to the `composer.json` file of your project and then run `composer install` from the command line as follows:\n\n```json\n{\n    \"require\": {\n        \"gladcodes/keygen\": \"~1.1\"\n    }\n}\n```\n\n```shell\n$ composer install\n```\n\nYou can use it in your PHP code like this:\n\n```php\n\u003c?php\n\nrequire __DIR__ . '/vendor/autoload.php';\nuse Keygen\\Keygen;\n\nprintf(\"Your appID is %.0f\", Keygen::numeric(12)-\u003egenerate()); // Your appID is 878234290135\n```\n\n## Usage and Documentation\n- [Complete Usage Guide]\n- [Keygen API Documentation]\n\n## Todos\n- Write tests\n\n## License\nThe Keygen package is covered by the `MIT` License.\n\n[Complete Usage Guide]: \u003chttps://github.com/gladchinda/keygen-php/wiki/Usage\u003e\n[Keygen API Documentation]: \u003chttps://github.com/gladchinda/keygen-php/wiki/Documentation\u003e\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgladchinda%2Fkeygen-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgladchinda%2Fkeygen-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgladchinda%2Fkeygen-php/lists"}