PHPackages                             arielcr/laravel5-hasher - 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. [Security](/categories/security)
4. /
5. arielcr/laravel5-hasher

ActiveLibrary[Security](/categories/security)

arielcr/laravel5-hasher
=======================

Command to convert a string to a Laravel hashed password to use directly on the database.

014PHP

Since Jul 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/arielcr/laravel5-hasher)[ Packagist](https://packagist.org/packages/arielcr/laravel5-hasher)[ RSS](/packages/arielcr-laravel5-hasher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 Password Hasher
=========================

[](#laravel-5-password-hasher)

Command to convert a string to a Laravel hashed password to use directly on the database.

Usage
-----

[](#usage)

### Step 1: Install Through Composer

[](#step-1-install-through-composer)

```
{
    "require": {
        "arielcr/laravel5-hasher": "dev-master"
    }
}

```

Then run `composer update`

### Step 2: Add the Service Provider

[](#step-2-add-the-service-provider)

Add the service provider to `config/app.php`:

```
'providers' => [
    // ...
    'Laravel\Hasher\HasherServiceProvider',
],
```

### Step 3: Run Artisan!

[](#step-3-run-artisan)

You're all set. Run `php artisan` from the console, and you'll see the new command.

Example
-------

[](#example)

```
php artisan hash password=123456

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d118595244b220df77499b71a8fcd41fb41540c183a97bd1f1788e8901890650?d=identicon)[arielcr](/maintainers/arielcr)

---

Top Contributors

[![arielorozco85](https://avatars.githubusercontent.com/u/220616093?v=4)](https://github.com/arielorozco85 "arielorozco85 (5 commits)")

### Embed Badge

![Health badge](/badges/arielcr-laravel5-hasher/health.svg)

```
[![Health](https://phpackages.com/badges/arielcr-laravel5-hasher/health.svg)](https://phpackages.com/packages/arielcr-laravel5-hasher)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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