PHPackages                             canaryau/laravel-encryption - 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. canaryau/laravel-encryption

ActiveLibrary[Security](/categories/security)

canaryau/laravel-encryption
===========================

A package to easily encrypt &amp; decrypt model fields in Laravel using OpenSSL.

3.0.3(3mo ago)52501MITPHPPHP ^8.1|^8.2|^8.3|^8.4CI passing

Since Oct 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/canaryau/laravel-encryption)[ Packagist](https://packagist.org/packages/canaryau/laravel-encryption)[ Docs](https://github.com/canaryau/laravel-encryption)[ RSS](/packages/canaryau-laravel-encryption/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (11)Used By (0)

Laravel Encryption
==================

[](#laravel-encryption)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3b5cc4ec04f7b8f897e16ca7be9d28eb3be3be9fd9c75bda1cfadbbee914d3b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616e61727961752f6c61726176656c2d656e6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/canaryau/laravel-encryption)[![Total Downloads](https://camo.githubusercontent.com/cfbf0ab5f958cfb3c6a19245c353fc90806e0663ef687749439ad75db6a314ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616e61727961752f6c61726176656c2d656e6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/canaryau/laravel-encryption)[![GitHub Actions](https://github.com/canaryau/laravel-encryption/actions/workflows/main.yml/badge.svg)](https://github.com/canaryau/laravel-encryption/actions/workflows/main.yml/badge.svg)

A package to easily encrypt &amp; decrypt model fields in Laravel using OpenSSL.

Key Features
------------

[](#key-features)

- Encrypt and decrypt module attributes easily
- Minimal configuration
- Comes with a selection of eloquent builders for easy queries
- Growing support for casting encryptable data

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

[](#installation)

You can install the package via composer:

```
composer require canaryau/laravel-encryption
```

Usage
-----

[](#usage)

```
