PHPackages                             matriphe/laravel-cake13-hash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. matriphe/laravel-cake13-hash

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

matriphe/laravel-cake13-hash
============================

Laravel 5 package to use legacy CakePHP 1.3 for password hash

1.0(8y ago)095MITPHP

Since Nov 29Pushed 8y agoCompare

[ Source](https://github.com/matriphe/laravel-cake13-hash)[ Packagist](https://packagist.org/packages/matriphe/laravel-cake13-hash)[ RSS](/packages/matriphe-laravel-cake13-hash/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laravel Cake 1.3 Hash
=====================

[](#laravel-cake-13-hash)

[![Build Status](https://camo.githubusercontent.com/0d98080496b8342837c01982e8f8687178dc48ba4cc663e7b56d0669541de0ca/68747470733a2f2f7472617669732d63692e6f72672f6d617472697068652f6c61726176656c2d63616b6531332d686173682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matriphe/laravel-cake13-hash)[![Total Download](https://camo.githubusercontent.com/59c27a55e4869460b29f06cba902a8971a3a97ff852d138aec5713ab7fd445d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617472697068652f6c61726176656c2d63616b6531332d686173682e737667)](https://packagist.org/packages/matriphe/laravel-cake13-hash)[![Latest Stable Version](https://camo.githubusercontent.com/3d1e5eb96e2430b35325ca7a527e711e3e5a80f89c31092272f0b61ce723cb10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617472697068652f6c61726176656c2d63616b6531332d686173682e737667)](https://packagist.org/packages/matriphe/laravel-cake13-hash)

This package is used to replace Laravel's default hash to support legacy CakePHP 1.3 password hash method.

Please use it with your own risk, since CakePHP 1.3 is obselete.

Installation
------------

[](#installation)

Using [Composer](https://getcomposer.org/), just run this command below.

```
composer require matriphe/laravel-cake13-hash
```

Configuration
-------------

[](#configuration)

After installed, open `config/app.php` and find this line.

```
Illuminate\Hashing\HashServiceProvider::class::class
```

Comment or remove that line and add this line to override Laravel's hash handling.

```
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.

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

Usage
-----

[](#usage)

Now you can use built in hash function using this command.

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3135d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/809de97d088b0eff358f96141a31bd8897216a03175448192de140f2723bdea6?d=identicon)[matriphe](/maintainers/matriphe)

---

Top Contributors

[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (2 commits)")

---

Tags

laravelpasswordcakesha1

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matriphe-laravel-cake13-hash/health.svg)

```
[![Health](https://phpackages.com/badges/matriphe-laravel-cake13-hash/health.svg)](https://phpackages.com/packages/matriphe-laravel-cake13-hash)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.2M17](/packages/directorytree-ldaprecord-laravel)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6783.6k5](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1542.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
