2017 © Pedro Peláez
 

library laravel-cake13-hash

Laravel 5 package to use legacy CakePHP 1.3 for password hash

image

matriphe/laravel-cake13-hash

Laravel 5 package to use legacy CakePHP 1.3 for password hash

  • Wednesday, November 29, 2017
  • by matriphe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 15 % Grown

The README.md

Laravel Cake 1.3 Hash

Build Status Total Download Latest Stable Version, (*1)

This package is used to replace Laravel's default hash to support legacy CakePHP 1.3 password hash method., (*2)

Please use it with your own risk, since CakePHP 1.3 is obselete., (*3)

Installation

Using Composer, just run this command below., (*4)

composer require matriphe/laravel-cake13-hash

Configuration

After installed, open config/app.php and find this line., (*5)

Illuminate\Hashing\HashServiceProvider::class::class

Comment or remove that line and add this line to override Laravel's hash handling., (*6)

Matriphe\Md5Hash\HashServiceProvider::class

Publish config file to hold salt string in config using php artisan vendor:publish command. This command will create config/cake.php file., (*7)

Open your app/config/core.php in your old CakePHP 1.3 directory, find Configure::write('Security.salt', 'S0m3S4lt'); and copy the salt., (*8)

Usage

Now you can use built in hash function using this command., (*9)

Hash::make('password'); // return 94c5b9c5a0d799d938fdad02162ce27651bf81eb
bcrypt('password'); // return 94c5b9c5a0d799d938fdad02162ce27651bf81eb

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

29/11 2017

dev-master

9999999-dev

Laravel 5 package to use legacy CakePHP 1.3 for password hash

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel password sha1 cake

29/11 2017

1.0

1.0.0.0

Laravel 5 package to use legacy CakePHP 1.3 for password hash

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel password sha1 cake