Download the PHP package florianeckerstorfer/passwordplease-php without Composer
On this page you can find all versions of the php package florianeckerstorfer/passwordplease-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package passwordplease-php

=================
Password, Please! generates secure passwords in PHP. You can use it as a command line application or as a library in your code.
Command Line Application
Downloading the PHAR archive from the releases page page is the easiest way to get the command line application.
The other way is to clone this repository and execute the bin/password-please.php
file.
Usage
If you call the binary without any arguments you will get a password of length 20 with lower and upper case letters, numbers and special characters. You can change both the length and the complexity.
The length must be greather than 0
and complexity must be a value between 1
(very high complexity) and 4
(low complexity). If you're a hasty person, you can use the shorter aliases for the options:
Instead of using the numeric identifier for the complexity, you can also use a high-level string description of the complexity. The following table details the available complexities, the characters used in it and the high-level names:
Complexity | Level | Alias | Characters |
---|---|---|---|
VERY_HIGH |
1 |
veryhigh , harder |
a-zA-Z0-9,;.:-_+*#!()=?%&@$"' |
HIGH |
2 |
high , hard |
a-zA-Z0-9 |
MEDIUM |
3 |
medium , normal |
a-zA-Z |
LOW |
4 |
low , easy |
a-z |
Library
If you want to use Password, Please! in your code you can add the library to your dependencies using Composer.
Tip: You should replace @stable
with a specific version from the releases page.
Usage
Password, Please! depends on ircmaxell/random-lib to generate passwords
and you need to pass an instance of \RandomLib\Generator
to the constructor.
Change Log
Version 0.2 (4 October 2014)
- Add string alias for complexities
- Change order of complexities,
1
is now very high and4
is low
Version 0.1 (3 September 2014)
- Initial release
Author
Developed by Florian Eckerstorfer in Vienna, Europe.
License
The MIT license applies to florianeckerstorfer/passwordplease-php
. For the full copyright and license information, please view the LICENSE
file distributed with this source code.