bobkingstone/securepass

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v0.1.0) of this package.

Auto-generate random password string with option for the inclusion of symbols. Uses Laravels Str random function to generate original alpha numeric string

v0.1.0 2014-06-23 15:56 UTC

This package is not auto-updated.

Last update: 2019-02-20 18:02:12 UTC


README

THIS PROJECT IS NO LONGER ACTIVLY DEVELOPED.

Latest Stable Version Total Downloads License

This package uses Laravels 'St::random()' function to generate the basic alpha numeric string and then adds symbols as requested.

##Installation Add bobkingstone/securepass to your composer.json

"require": {
    "bobkingstone/securepass": "dev-master"
}

Run composer update

composer update

Once this has completed add the service provider to the array of providers in app/config/app.php

'Bobkingstone\Securepass\SecurepassServiceProvider'

##Usage The package generates a facade for the package automatically, so all you need to run is:

Securepass::generate();

This will return a random string with a length of 10 characters by default.

To create a different length string pass in the required length:

Securepass::generate(11);

To include symbols within password:

Securepass::generate(11,true);

To generate a more human readable password:

Securepass::generateHuman();