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 4w 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 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

2889d 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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.2B15.0k](/packages/symfony-console)[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[symfony/http-foundation

Defines an object-oriented layer for the HTTP specification

8.7k950.4M7.1k](/packages/symfony-http-foundation)[symfony/var-dumper

Provides mechanisms for walking through any arbitrary PHP variable

7.4k922.8M10.1k](/packages/symfony-var-dumper)[twig/twig

Twig, the flexible, fast, and secure template language for PHP

8.4k473.8M7.7k](/packages/twig-twig)

PHPackages © 2026

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