https://github.com/mikeshiyan/passgen
Password generating Symfony Console application.
https://github.com/mikeshiyan/passgen
composer console generator oop password php
Last synced: 8 months ago
JSON representation
Password generating Symfony Console application.
- Host: GitHub
- URL: https://github.com/mikeshiyan/passgen
- Owner: mikeshiyan
- License: mit
- Created: 2015-12-08T11:45:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-21T14:06:44.000Z (about 4 years ago)
- Last Synced: 2025-01-23T01:42:28.030Z (10 months ago)
- Topics: composer, console, generator, oop, password, php
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Password Generator
A command-line utility for random password generation.
## Requirements
* PHP ≥ 8.0
* [Composer](https://getcomposer.org)
## Installation
```
composer global require --optimize-autoloader shiyan/passgen
```
Make sure that the `COMPOSER_HOME/vendor/bin` dir is in your `PATH` env var.
More info in the composer help: `composer global -h`
If you have the [CGR](https://github.com/consolidation/cgr) installed, then run
the following command instead of the one above:
```
cgr -o shiyan/passgen
```
## Usage
```
passgen []
```
Where `length` is an optional password length argument `[default: 20]`.