PHPackages                             code-orange/encryptable - 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. code-orange/encryptable

ActiveLibrary[Security](/categories/security)

code-orange/encryptable
=======================

Encryptable trait for Laravel models

v1.2(5y ago)091[1 PRs](https://github.com/code-orange/encryptable/pulls)UNLICENSEDPHP

Since May 11Pushed 1y ago4 watchersCompare

[ Source](https://github.com/code-orange/encryptable)[ Packagist](https://packagist.org/packages/code-orange/encryptable)[ RSS](/packages/code-orange-encryptable/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Encryptable
===========

[](#encryptable)

This package adds the encryptable trait to your laravel model which automatically encrypts and decrypts them when communicating with the database.

Installation
------------

[](#installation)

First, make sure you have the [Code Orange package registry](http://hub.nub.is/packages) set up correctly.

```
composer require code-orange/encryptable

```

Usage
-----

[](#usage)

Add a protected $encrypted trait to your laravel model. I.E:

```
protected $encryptable = [
		'first_name', 'last_name', 'country', 'zipcode', 'housenumber', 'street', 'city', 'phone', 'email',
	];

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~451 days

Total

3

Last Release

2072d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1038428?v=4)[Tim van Dalen](/maintainers/timvdalen)[@timvdalen](https://github.com/timvdalen)

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

---

Top Contributors

[![Yorannn](https://avatars.githubusercontent.com/u/5426681?v=4)](https://github.com/Yorannn "Yorannn (6 commits)")[![NielsHoiting](https://avatars.githubusercontent.com/u/5745949?v=4)](https://github.com/NielsHoiting "NielsHoiting (2 commits)")[![timvdalen](https://avatars.githubusercontent.com/u/1038428?v=4)](https://github.com/timvdalen "timvdalen (1 commits)")

### Embed Badge

![Health badge](/badges/code-orange-encryptable/health.svg)

```
[![Health](https://phpackages.com/badges/code-orange-encryptable/health.svg)](https://phpackages.com/packages/code-orange-encryptable)
```

###  Alternatives

[illuminate/encryption

The Illuminate Encryption package.

9630.7M325](/packages/illuminate-encryption)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel-chronicle/core

Tamper-evident audit ledger for Laravel applications.

1213.1k3](/packages/laravel-chronicle-core)

PHPackages © 2026

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