{"id":15509102,"url":"https://github.com/devuri/secure-password","last_synced_at":"2025-03-22T17:14:48.510Z","repository":{"id":179022537,"uuid":"662730931","full_name":"devuri/secure-password","owner":"devuri","description":"Secure Password Generator","archived":false,"fork":false,"pushed_at":"2023-07-06T03:24:10.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T22:08:52.202Z","etag":null,"topics":["packagist","php-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/devuri.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-05T19:02:35.000Z","updated_at":"2024-07-22T04:36:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ad1df05-ae99-4209-8ad5-abf3a88b2086","html_url":"https://github.com/devuri/secure-password","commit_stats":null,"previous_names":["devuri/secure-password"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Fsecure-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Fsecure-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Fsecure-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Fsecure-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devuri","download_url":"https://codeload.github.com/devuri/secure-password/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244991175,"owners_count":20543627,"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":["packagist","php-library"],"created_at":"2024-10-02T09:41:23.570Z","updated_at":"2025-03-22T17:14:48.478Z","avatar_url":"https://github.com/devuri.png","language":"PHP","readme":"# Secure Password Generator\n\nSecure Password Generator is a PHP package that allows you to generate cryptographically secure passwords and passcodes.\n\n## Installation\n\nYou can install the package using [Composer](https://getcomposer.org/). Run the following command:\n\n```bash\ncomposer require devuri/secure-password\n```\n\n## Usage\n\n### Generating a Password\n\nTo generate a password, you can use the `PasswordGenerator::generatePassword()` method. By default, it generates a password with a length of 8 characters and includes special characters.\n\n```php\nuse Urisoft\\PasswordGenerator;\n\n$password = PasswordGenerator::generatePassword();\necho \"Generated Password: $password\" . PHP_EOL;\n```\n\nYou can customize the length and inclusion of special characters by providing optional arguments:\n\n```php\n$password = PasswordGenerator::generatePassword(12, false);\necho \"Generated Password (without special chars): $password\" . PHP_EOL;\n```\n\n### Generating a Passcode\n\nTo generate a passcode consisting of only digits, you can use the `PasswordGenerator::generatePasscode()` method. By default, it generates a passcode with a length of 6 digits.\n\n```php\n$passcode = PasswordGenerator::generatePasscode();\necho \"Generated Passcode: $passcode\" . PHP_EOL;\n```\n\nYou can customize the length of the passcode by providing an optional argument:\n\n```php\n$passcode = PasswordGenerator::generatePasscode(8);\necho \"Generated Passcode (8 digits): $passcode\" . PHP_EOL;\n```\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.\n\n## License\n\nThis package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n\n## Credits\n\nSecure Password Generator was developed by [Uriel Wilson](https://github.com/devuri).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevuri%2Fsecure-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevuri%2Fsecure-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevuri%2Fsecure-password/lists"}