2017-25 © Pedro Peláez
 

library laravel-memorable-passwords

Package to generate memorable passwords

image

nicolaskuster/laravel-memorable-passwords

Package to generate memorable passwords

  • Sunday, March 11, 2018
  • by nicolaskuster
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Generate memorable passwords in a Laravel app

Generates noticeable passwords from a list of available words separated by a delimiter., (*1)

In the config file you will find some options:, (*2)

  • number_of_parts: Number of words the password should have
  • number_of_uppercase_letters: Number of capital letters that should have the password
  • number_of_numbers: Number of numbers the password should have
  • words: List of all available words
  • delimiters: List of all available word separators

Installation

You can install the package via composer:, (*3)

composer require nicolaskuster/laravel-memorable-passwords

You can publish the config-file with:, (*4)

php artisan vendor:publish --provider="Nicolaskuster\MemorablePasswords\Providers\MemorablePasswordServiceProvider"

Usage examples

Code:, (*5)

for ($i = 0; $i < 10; $i++) {
    \Nicolaskuster\MemorablePasswords\MemorablePassword::generate();
}

config:, (*6)

return [
    'number_of_parts'=> 2,
    'number_of_uppercase_letters'=> 2,
    'number_of_numbers'=>2,
    'words' => [
        //...
    ],
    'delimiters' => [
        '-',
        '.',
        '_',
    ]
]

output:, (*7)

Milch9-salZ1
raHm9_fencheL4
honiG2-wAsser3
Pfeffer1.huNd5
milCh3-fEnchel7
hUnd5_gLas1
Pfeffer7_rahM6
pfEffer3-aUto4
Wein4_huNd2
pfEffer4-glAs5

Testing

You can run all the tests with:, (*8)

composer test

The Versions

11/03 2018

dev-master

9999999-dev https://github.com/nicolaskuster/laravel-memorable-passwords

Package to generate memorable passwords

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nicolas Kuster

laravel password memorable-password human-friendly-password

11/03 2018

v1.0.0

1.0.0.0 https://github.com/nicolaskuster/laravel-memorable-passwords

Package to generate memorable passwords

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nicolas Kuster

laravel password memorable-password human-friendly-password