PHPackages                             darkindy/spring-password-utils - 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. darkindy/spring-password-utils

ActiveProject[Security](/categories/security)

darkindy/spring-password-utils
==============================

PHP utilities for encoding and validating passwords in the same way as Spring Security's StandardPasswordEncoder in Java.

1.0.0(7y ago)230MITPHPPHP &gt;=5.3.3

Since Sep 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/darkindy/spring-password-utils)[ Packagist](https://packagist.org/packages/darkindy/spring-password-utils)[ RSS](/packages/darkindy-spring-password-utils/feed)WikiDiscussions master Synced 3d ago

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

Spring Password Utils
=====================

[](#spring-password-utils)

PHP utilities for encoding and validating passwords in the same way as Spring Security's StandardPasswordEncoder in Java.

Features
--------

[](#features)

- Encoding a password hash in the same way as Spring Security's StandardPasswordEncoder
- Validating a password against a hash generated from Java or by this library itself

Composer Installation
---------------------

[](#composer-installation)

This is a PSR-4 autoloadable library. Please use Composer to add the library to your project:

```
{
  "require": {
    "darkindy/spring-password-utils": "1.0.0"
  }
}
```

Troubleshooting
---------------

[](#troubleshooting)

In case you encounter the error message "Call to undefined function openssl\_random\_pseudo\_bytes()" when encoding a password with an auto-generated salt, please enable openssl by uncommenting the following lines in your php.ini:

```
extension_dir="ext"
extension=php_openssl.dll

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2797d ago

PHP version history (2 changes)1.0.0-alpha1PHP ^7.1

1.0.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/953862?v=4)[Andrei Pietrușel](/maintainers/darkindy)[@darkindy](https://github.com/darkindy)

---

Top Contributors

[![darkindy](https://avatars.githubusercontent.com/u/953862?v=4)](https://github.com/darkindy "darkindy (7 commits)")

---

Tags

passwordutilitiesjavaspring

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/darkindy-spring-password-utils/health.svg)

```
[![Health](https://phpackages.com/badges/darkindy-spring-password-utils/health.svg)](https://phpackages.com/packages/darkindy-spring-password-utils)
```

###  Alternatives

[ircmaxell/password-compat

A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password\_hash

2.1k56.8M122](/packages/ircmaxell-password-compat)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[symfony/password-hasher

Provides password hashing utilities

813137.2M91](/packages/symfony-password-hasher)[rych/phpass

PHP Password Library: Easy, secure password management for PHP

248801.7k4](/packages/rych-phpass)[mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

863.4M2](/packages/mikemclin-laravel-wp-password)[bordoni/phpass

Portable PHP password hashing framework

244.4M26](/packages/bordoni-phpass)

PHPackages © 2026

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