PHPackages                             neuralpin/passencryption - 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. neuralpin/passencryption

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

neuralpin/passencryption
========================

Helper for secure password encrypting and validating

v1.2(2y ago)014GPL-3.0-onlyPHP

Since Apr 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/neuralpin/neuralpin_passencryption)[ Packagist](https://packagist.org/packages/neuralpin/passencryption)[ RSS](/packages/neuralpin-passencryption/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

neuralpin/passencryption
========================

[](#neuralpinpassencryption)

Description:
------------

[](#description)

Helper for secure password encrypting and validating [Github Repo](https://github.com/neuralpin/neuralpin_passencryption)

How to use
----------

[](#how-to-use)

Example for encrypting a user password using random salt

```
use Neuralpin\Passencryption\PasswordEncryptor;

$user_plain_password = 'original_password';

$user_encrypted_password = new PasswordEncryptor( $user_plain_password );

// The random salt used ready to store in the database
$user_encrypted_password->getSalt();
// The encrypted password ready to store in the database
$user_encrypted_password->getPassword();
```

Example for comparing user password with database password

```
use Neuralpin\Passencryption\PasswordCompare;

$user_plain_password = 'original_password';

$stored_salt = '425d3ab03af14574b52269f91a798168d9858286230da78b26ed82f20e2ab807bcee97650d8a575a883e06156956c5a3ba8752632138c4c0c6a05a108ed10e09';

$stored_password = 'a07eb5af110432cd11191afed23be2720f8c4c35f3d715c9cf763937f4a93ef8508fa80e83df049294aeed00cd4a42d853639683e4aa125e4f0332f0a30274b3';

$password_comparing = new PasswordCompare(
    $user_plain_password,
    $stored_salt,
    $stored_password
);

if( $password_comparing->isEqual() ){
    // Code for logged user ...
    echo "Logged in successfully";
}else{
    // Code for invalid password ...
    echo "Invalid password, try again";
}
```

Use the module with composer
----------------------------

[](#use-the-module-with-composer)

```
composer config repositories.neuralpin/passencryption vcs https://github.com/neuralpin/neuralpin_passencryption
composer require neuralpin/passencryption
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~78 days

Total

3

Last Release

1008d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

helper

### Embed Badge

![Health badge](/badges/neuralpin-passencryption/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k132.8M888](/packages/barryvdh-laravel-ide-helper)[bryanjhv/slim-session

Session middleware and helper for Slim framework 4.

2411.0M16](/packages/bryanjhv-slim-session)[laravelista/ekko

Framework agnostic PHP package for marking navigation items active.

274700.4k4](/packages/laravelista-ekko)[beste/json

A simple JSON helper to decode and encode JSON

4226.8M3](/packages/beste-json)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3435.1M23](/packages/chillerlan-php-settings-container)[kartik-v/yii2-helpers

A collection of useful helper functions for Yii Framework 2.0

933.1M29](/packages/kartik-v-yii2-helpers)

PHPackages © 2026

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