lyndipc / newpass
CLI Password Generator
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:clilibrary
pkg:composer/lyndipc/newpass
Requires
- php: >=8.2
README
Newpass is a simple and secure command-line tool that allows you to generate strong and random passwords with customizable options. With this tool, you can create unique passwords for your various accounts and services, ensuring better security for your online presence.
Features
- Control the length of the generated password.
- Choose whether to include uppercase letters, lowercase letters, numbers, and special - characters.
- Copy the generated password directly to your clipboard for easy use.
- No internet connection required; all processing is done locally on your machine.
Installation
Ensure you have PHP installed on your machine. Then, run the following command in your terminal:
composer global require lyndipc/newpass
Usage
To generate a new password, run the following command in your terminal:
newpass [options]
- -l, --lowercase: Include lowercase letters in the password.
- -u, --uppercase: Include uppercase letters in the password.
- -s, --symbols: Include symbols in the password.
- -n, --numbers: Include numbers in the password.
- -t, --length : Specify the length of the password (default: 28 characters).
Example Usage
- Generate a 16-character random password with uppercase letters, lowercase letters, numbers, and symbols:
newpass -t 16 -u -l -n -s
- Generate a 12-character random password with only uppercase letters and numbers:
newpass -t 12 -u -n
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Contribution
Contributions to this project are welcome! If you find a bug or would like to request a new feature, please open an issue or submit a pull request.