retdaisuke/laravel-fuelphp-hashing

Laravel hashing for migration from FuelPHP hashed password.

1.0.0 2017-11-16 04:49 UTC

This package is not auto-updated.

Last update: 2024-04-19 18:00:25 UTC


README

Laravel hashing for migration from FuelPHP hashed password.

Install (Laravel5.1~)

Add the package to your composer.json and run composer update.

"require": {
    "retdaisuke/laravel-fuelphp-hashing": "^1.0"
},

Or install with composer.

$ composer require retdaisuke/laravel-fuelphp-hashing

Change the service provider in config/app.php:

//Illuminate\Hashing\HashServiceProvider::class,
Retdaisuke\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