Laravel hashing for migration from FuelPHP hashed password.
Add the package to your composer.json and run composer update.
"require": {
"in7rude/laravel-fuelphp-hashing": "^1.0"
},
Or install with composer.
$ composer require in7rude/laravel-fuelphp-hashing
Change the service provider in config/app.php:
//Illuminate\Hashing\HashServiceProvider::class,
in7rude\LaravelFuelphpHashing\HashServiceProvider::class,
Create fuelphp config files. config/fuelphp.php
<?php
return [
'auth' => [
'salt' => env('FUELPHP_AUTH_SALT', ''),
'iterations' => env('FUELPHP_AUTH_ITERATIONS', 10000),
],
];
.env file.
FUELPHP_AUTH_SALT=xxxxxxxxxxxxxxxxx