Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikeshiyan/passgen

Password generating Symfony Console application.
https://github.com/mikeshiyan/passgen

composer console generator oop password php

Last synced: about 1 month ago
JSON representation

Password generating Symfony Console application.

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]`.