2017 © Pedro Peláez
 

library passworder

Human-readable password generator

image

ircop/passworder

Human-readable password generator

  • Sunday, April 2, 2017
  • by ircop
  • Repository
  • 1 Watchers
  • 5 Stars
  • 1,473 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 9 % Grown

The README.md

Human-friendly password generator

Generates password from 2 parts: first is random, but well-readable string, seocnd is a word from dictionary., (*1)

All options are in config file:, (*2)

  • random_uppercase: make several letters uppercase [true/false]
  • uppercase_chance: chance to make letter uppercase. Applies for each letter. [0-9]
  • add_numbers: add or not numbers to password (to the end of both parts). [true/false]
  • number_chance: chance to add number [0-9]
  • words => [] : dictionary.

Install

1: install via composer:

composer require ircop/passworder

2: add service provider:

Open config/app.php, and add to the providers array:, (*3)

Ircop\Passworder\PassworderServiceProvider::class,

3: add facade alias:

In the config/app.php. add to the aliases array:, (*4)

'Passworder' => Ircop\Passworder\Facade\Passworder::class,

4: Publishing config:

Run in the console:, (*5)

./artisan vendor:publish --provider="Ircop\Passworder\PassworderServiceProvider"

Config will be moved to /config/passworder.php, (*6)

Usage examples:

Code:, (*7)

for( $i=0; $i<10; $i++ ) {
      echo \Passworder::gen()."<br>";
  }

Config:, (*8)

    'random_uppercase' => true,
    'uppercase_chance' => 1,        # 0-9
    'add_numbers' => true,
    'number_chance' => 5,           # 0-9
    'delimeters'  => '-_!@%.#',

Output:, (*9)

sobmu.heat
Rupke4.print
bistO2-doubt
penga#agree
TambU8#papeR6
RamdA!woman
tebPU-sleep
dogke.wOuNd4
Todki!linen
nanrO.WoRk6

The Versions

02/04 2017

dev-master

9999999-dev

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman

laravel password password generator

12/11 2015

v0.1.3

0.1.3.0

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman

laravel password password generator

12/11 2015

v0.1.2

0.1.2.0

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman

password password generator larawel

12/11 2015

v0.1.1

0.1.1.0

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman

password password generator larawel

12/11 2015

v0.1

0.1.0.0

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman

12/11 2015

dev-develop

dev-develop

Human-readable password generator

  Sources   Download

GPLv2

by Avatar wingman