2017 © Pedro Peláez
 

library password-generator

Generates human-readable, but secure, passwords.

image

kieranajp/password-generator

Generates human-readable, but secure, passwords.

  • Friday, October 27, 2017
  • by kieranajp
  • Repository
  • 0 Watchers
  • 1 Stars
  • 943 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Password Generator

codecov, (*1)

A teeny library to generate memorable yet secure passwords., (*2)

Why?

  • Existing password managers didn't suit the needs I had for this project, or required you to source your own external wordlist
  • I've hacked Faker into a password generator for typeable passwords
    • The project I'm using this in requires secure, generated passwords that are easy to type

Installation

Requires PHP 7.0+. Install with Composer., (*3)

$ composer require kieranajp/password-generator

If you require PHP 5.3 - 5.6 support, install v1., (*4)

Example usage

To quickly try this out, you can run php example.php. This file contains the basic usage., (*5)

require 'vendor/autoload.php';
$g = new \Kieranajp\Generator\Generator();
$g->generate(); // [ "Reagan467$Lera^" ]
$g->generate(2); // [ "Christina835$Frami$", "Terrance103:Evie." ]

By default, passwords are of the following format: word - number - symbol - word - symbol. This can easily be changed as follows:, (*6)

$g->setFormat("word:num:symbol")

The default list of symbols is easy to type by a less-savvy computer user on a standard QWERTY keyboard. Other symbols can be added with $g->addSymbol('🤡') and removed with $g->removeSymbol('🤡')., (*7)

The Versions

27/10 2017

dev-master

9999999-dev

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

27/10 2017

v2.0.1

2.0.1.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

26/10 2017

v2.0

2.0.0.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

08/01 2016

v1.1

1.1.0.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

15/12 2015

v1.0.2

1.0.2.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

15/12 2015

v1.0.1

1.0.1.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

09/12 2015

v1.0

1.0.0.0

Generates human-readable, but secure, passwords.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel