Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

hisorange/laravel-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replace the BCrypt hashing with native PHP hashing algorithm for Laravel.

With this you don't need BCrypt support and even can choose which algorithm to use with a single config option.

Installation with composer:
"require": {
	"hisorange/laravel-hash": "dev-master"
}

After the composer update replace the HashServiceProvider in your app.php:

'providers'	=> array(
	// ...
	#'Illuminate\Hashing\HashServiceProvider',
	'hisorange\hash\Providers\HashServiceProvider',
	// ...
)

You can use personal configurations just publish the package's configuration files.

php artisan config:publish hisorange/laravel-hash

In the configurations you can choose which algorithm to use, added salt length and the alphabet characters for the salting.

Inspired by the robclancy/laravel4-hashing repo :3

About

Replace the BCrypt hashing with native PHP hashing algorithm for Laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages