PHPackages                             paulhenri-l/laravel-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. paulhenri-l/laravel-encryptable

ActiveLibrary[Security](/categories/security)

paulhenri-l/laravel-encryptable
===============================

laravel-encryptable

1.0.0(4y ago)1161MITPHPPHP ^7.3|^8.0

Since Sep 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/paulhenri-l/laravel-encryptable)[ Packagist](https://packagist.org/packages/paulhenri-l/laravel-encryptable)[ RSS](/packages/paulhenri-l-laravel-encryptable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

LaravelEncryptable
==================

[](#laravelencryptable)

[![PHP Tests](https://github.com/paulhenri-l/laravel-encryptable/actions/workflows/php-tests.yml/badge.svg)](https://github.com/paulhenri-l/laravel-encryptable/actions/workflows/php-tests.yml)[![PHP Code Style](https://github.com/paulhenri-l/laravel-encryptable/actions/workflows/php-code-style.yml/badge.svg)](https://github.com/paulhenri-l/laravel-encryptable/actions/workflows/php-code-style.yml)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Encrypts your model attributes in the background so that they are encrypted in DB.

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

[](#installation)

```
composer require paulhenri-l/laravel-encryptable

```

Usage
-----

[](#usage)

Since encryption makes the values longer think about changing your column type to text.

```
