arielcr / laravel5-hasher by arielcr

Command to convert a string to a Laravel hashed password to use directly on the database.
14
0
3
Package Data
Maintainer Username: arielcr
Maintainer Contact: bassplayer85@gmail.com (Ariel Orozco)
Package Create Date: 2015-07-07
Package Last Update: 2015-07-07
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 03:01:15
Package Statistics
Total Downloads: 14
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

Laravel 5 Password Hasher

Command to convert a string to a Laravel hashed password to use directly on the database.

Usage

Step 1: Install Through Composer

{
    "require": {
        "arielcr/laravel5-hasher": "dev-master"
    }
}

Then run composer update

Step 2: Add the Service Provider

Add the service provider to config/app.php:

'providers' => [
    // ...
    'Laravel\Hasher\HasherServiceProvider',
],

Step 3: Run Artisan!

You're all set. Run php artisan from the console, and you'll see the new command.

Example

php artisan hash password=123456