2017 © Pedro Peláez
 

library passworder

Human-readable password generator

image

curiolabs/passworder

Human-readable password generator

  • Thursday, February 22, 2018
  • by curiolabs
  • Repository
  • 0 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 200 % Grown

The README.md

Human-friendly password generator

For Laravel 5.5, (*1)

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

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

  • 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 curiolabs/passworder

2: add service provider:

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

CurioLabs\Passworder\PassworderServiceProvider::class,

3: add facade alias:

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

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

4: Publishing config:

Run in the console:, (*6)

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

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

Usage examples:

Code:, (*8)

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

Config:, (*9)

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

Output:, (*10)

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

The Versions

22/02 2018

dev-master

9999999-dev

Human-readable password generator

  Sources   Download

GPL-2.0+

by Avatar wingman

laravel password password generator

22/02 2018

v0.1.4

0.1.4.0

Human-readable password generator

  Sources   Download

GPL-2.0+

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