PHPackages                             cr/hashcli - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cr/hashcli

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cr/hashcli
==========

HashCLI - PHP CLI Tool For hashing

28.8k—8.3%1[1 issues](https://github.com/DailyMatters/hashCLI/issues)2PHP

Since Dec 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/DailyMatters/hashCLI)[ Packagist](https://packagist.org/packages/cr/hashcli)[ RSS](/packages/cr-hashcli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (2)

HashCLI - PHP CLI Tool For hashing
==================================

[](#hashcli---php-cli-tool-for-hashing)

[![Build Status](https://camo.githubusercontent.com/40c756b09c9b7af4b8a96ccfe975b1989cdd546c6ccd28393fa272708728fd48/68747470733a2f2f7472617669732d63692e6f72672f4461696c794d6174746572732f68617368434c492e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DailyMatters/hashCLI)

Special thanks to Peter Lee ( @peter279k ) for the PR.

What is this?
-------------

[](#what-is-this)

HashCLI is a PHP CLI tool for hashing and verifying hashes generated with the PHP `password_hash()` method. This tool was born because of a necessity to constantly having to generate new password hashes and check if old passwords hashes were correct.

### Usage:

[](#usage)

#### With Composer

[](#with-composer)

- Run `curl -sS https://getcomposer.org/installer | php` to download the composer.phar
- Run `php composer.phar require cr/hashcli` ( `composer require cr/hashcli:dev-master` since this is not a stable release yet ).

`vendor/bin/hashCLI hash [password]`: To hash the password.

`vendor/bin/hashCLI check [password] [hash]`: To check if the hash corresponds to the password.

`vendor/bin/hashCLI help`: For help.

#### Without Composer

[](#without-composer)

- Run `git clone https://github.com/DailyMatters/hashCLI.git`
- Run `php build.php` then get the `hashCLI.phar`

`php hashCLI.phar hash [password]`: To hash the password.

`php hashCLI.phar check [password] [hash]`: To check if the hash corresponds to the password.

`php hashCLI.phar help`: For help.

#### On Packagist

[](#on-packagist)

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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://avatars.githubusercontent.com/u/8573054?v=4)[Cláudio Ribeiro](/maintainers/DailyMatters)[@DailyMatters](https://github.com/DailyMatters)

---

Top Contributors

[![DailyMatters](https://avatars.githubusercontent.com/u/8573054?v=4)](https://github.com/DailyMatters "DailyMatters (14 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

### Embed Badge

![Health badge](/badges/cr-hashcli/health.svg)

```
[![Health](https://phpackages.com/badges/cr-hashcli/health.svg)](https://phpackages.com/packages/cr-hashcli)
```

###  Alternatives

[artisaninweb/laravel-enum

A provider for Enums in Laravel.

1187.5k](/packages/artisaninweb-laravel-enum)

PHPackages © 2026

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