PHPackages                             pmedynskyi/laravel-encrypt - 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. pmedynskyi/laravel-encrypt

ActiveLibrary[Security](/categories/security)

pmedynskyi/laravel-encrypt
==========================

1.0.0(2y ago)0517[1 issues](https://github.com/pmedynskyi/laravel-encrypt/issues)PHPPHP ^8.0

Since Sep 1Pushed 2y ago2 watchersCompare

[ Source](https://github.com/pmedynskyi/laravel-encrypt)[ Packagist](https://packagist.org/packages/pmedynskyi/laravel-encrypt)[ RSS](/packages/pmedynskyi-laravel-encrypt/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

LARAVEL-ENCRYPT
===============

[](#laravel-encrypt)

- Use trait for your models when you want to hash attribute, in the database type of field for the attribute should be `TEXT`:
- Example for Model:

```
use Illuminate\Database\Eloquent\Casts\Attribute;

...implements ...IModelUseEncryptedAttributes{
use ModelUseEncryptedAttributes;
...
    public function attributeOne() :Attribute
    {
        return $this->encryptedAttribute();
    }
...
    public function attributeTwo() :Attribute
    {
        return $this->encryptedAttribute();
    }
...

```

- Attribute will automatically been hashed for save/update and uhashed when you will initialize the model

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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

Unknown

Total

1

Last Release

1083d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/85118993?v=4)[pmedynskyi](/maintainers/pmedynskyi)[@pmedynskyi](https://github.com/pmedynskyi)

---

Top Contributors

[![pmedynskyi](https://avatars.githubusercontent.com/u/85118993?v=4)](https://github.com/pmedynskyi "pmedynskyi (31 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/pmedynskyi-laravel-encrypt/health.svg)

```
[![Health](https://phpackages.com/badges/pmedynskyi-laravel-encrypt/health.svg)](https://phpackages.com/packages/pmedynskyi-laravel-encrypt)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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