PHPackages                             vkr/sf-to-lv-bcrypt - 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. vkr/sf-to-lv-bcrypt

ActiveLibrary[Security](/categories/security)

vkr/sf-to-lv-bcrypt
===================

Bridge between Symfony and Laravel BCrypt hashers

2.1-stable(4y ago)0592MITPHPPHP &gt;=7.2CI failing

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wladislavk/sf-to-lv-bcrypt)[ Packagist](https://packagist.org/packages/vkr/sf-to-lv-bcrypt)[ RSS](/packages/vkr-sf-to-lv-bcrypt/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

This package was created with purpose of creating a BCrypt hasher that could be used in both Laravel and non-Laravel projects. This package is useful in the following cases:

1. A part of your code uses Laravel, and the other part does not, but you need a common hasher,
2. You are using Laravel but intend to switch to another framework and want to make the transition painless.

The `VKR\SymfonyLaravelBCryptBridge\BcryptHasher` class intends to reproduce functionality of `Illuminate\Hashing\BcryptHasher` without being dependent on Laravel. It was tested with Laravel versions 5.5 and newer.

The original Laravel class implements an interface named `Illuminate\Contracts\Hashing\Hasher`. This means that `VKR\SymfonyLaravelBCryptBridge\BcryptHasher` will not work in a Laravel project out of the box, and a decorator implementing the same interface is needed. You can copy-paste `/examples/LaravelWrapper.php`into your project, just add the relevant namespace. When using this package with other frameworks, you can create other decorators that would implement an interface defined in your framework.

This package depends on `symfony/security` 4.x, so it will not work with any framework that insists on using a different version of `symfony/security`.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~431 days

Total

3

Last Release

1766d ago

Major Versions

1.0-stable → 2.0-stable2021-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/79f5fa971e7fda7a6180c1bdfca4f819a43b7681ec4e04c66b184a082fb5a20f?d=identicon)[wladislavk](/maintainers/wladislavk)

---

Top Contributors

[![wladislavk](https://avatars.githubusercontent.com/u/11371476?v=4)](https://github.com/wladislavk "wladislavk (7 commits)")[![dentalsleepsolutions](https://avatars.githubusercontent.com/u/6494805?v=4)](https://github.com/dentalsleepsolutions "dentalsleepsolutions (1 commits)")

---

Tags

symfonylaravelsecuritybcrypt

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vkr-sf-to-lv-bcrypt/health.svg)

```
[![Health](https://phpackages.com/badges/vkr-sf-to-lv-bcrypt/health.svg)](https://phpackages.com/packages/vkr-sf-to-lv-bcrypt)
```

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

999465.8k2](/packages/akaunting-laravel-firewall)[enlightn/laravel-security-checker

A Laravel package to scan your dependencies for known security vulnerabilities.

51173.4k](/packages/enlightn-laravel-security-checker)[rezzza/security-bundle

Signed requests check

1753.6k](/packages/rezzza-security-bundle)

PHPackages © 2026

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