ksungcaya / phpass-laravel by ksungcaya

PHPass Hashing integration to Laravel 5
Package Data
Maintainer Username: ksungcaya
Maintainer Contact: ksungcaya@gmail.com (Kenneth Sungcaya)
Package Create Date: 2015-08-05
Package Last Update: 2019-10-08
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-05-15 03:00:44
Package Statistics
Total Downloads: 2,223
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 3
Total Watchers: 5
Total Forks: 7
Total Open Issues: 0

#PHPass Hashing integration for Laravel 5

Build Status HHVM Status

A PHPass Hasher integration to Laravel 5. This package overrides the default Bycrypt Hasher of Laravel and uses the Phpass Library from Openwall for password hashing and checking methods.

If you are using Laravel 4, try out the old implementation here.


Install package through Composer.

"require": {
    "ksungcaya/phpass-laravel": "~1.0"

Then run composer update

$ composer update

Update config/app.php and include a reference to this package's service provider in the providers array.

'providers' => [


Now that PHPass is installed in Laravel, you can now use the normal Hash methods.

Hash::check('secret', $hashedPassword);

That's it!

Please refer to Laravel documentation on Hashing to know more about the Hash methods.