PHPackages                             germania-kg/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. germania-kg/hash

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

germania-kg/hash
================

Callable wrapper around PHP's password hashing and verification, optional with PSR3 Logger support

2.1.0(3y ago)095MITPHPPHP ^7.4|^8.0CI failing

Since Oct 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/GermaniaKG/Hash)[ Packagist](https://packagist.org/packages/germania-kg/hash)[ RSS](/packages/germania-kg-hash/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (14)Used By (0)

Germania KG • Hash Callables
============================

[](#germania-kg--hash-callables)

**Callable wrapper around PHP's password hashing and verification, optional with PSR3 Logger support**

[![Packagist](https://camo.githubusercontent.com/6bef60d5e4241eb45708a57b3a1cbe13db46c8ffc876fcd3276dc4a5ba57564e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6765726d616e69612d6b672f686173682e7376673f7374796c653d666c6174)](https://packagist.org/packages/germania-kg/hash)[![PHP version](https://camo.githubusercontent.com/fffcdd6162663d4070caf6cc0ad08cc4b75ba6afa18a353149510010224b5867/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6765726d616e69612d6b672f686173682e737667)](https://packagist.org/packages/germania-kg/hash)[![Tests](https://github.com/GermaniaKG/Hash/actions/workflows/tests.yml/badge.svg)](https://github.com/GermaniaKG/Hash/actions/workflows/tests.yml)

Installation with Composer
--------------------------

[](#installation-with-composer)

```
$ composer require germania-kg/hash
$ composer require germania-kg/hash:^2
```

PasswordHashCallable
--------------------

[](#passwordhashcallable)

This class wraps PHP's [password\_hash](http://php.net/manual/de/function.password-hash.php) function in a callable class. It optionally accepts any PSR-3 Logger of which the *debug* method will be called each time it is invoked.

```
