in7rude/laravel-fuelphp-hashing

Laravel hashing for migration from FuelPHP hashed password.

1.0.1 2019-03-16 18:48 UTC

This package is auto-updated.

Last update: 2024-09-22 16:36:51 UTC


README

Laravel hashing for migration from FuelPHP hashed password.

Install (Laravel5.5+)

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