An open API service indexing awesome lists of open source software.

https://github.com/venturedrake/laravel-encryptable

A Laravel package with an encryptable trait to manage encrypting database table fields
https://github.com/venturedrake/laravel-encryptable

database database-encryption database-security decryption encryption encryption-decryption laravel laravel-package security-hardening security-vulnerabilities

Last synced: 6 months ago
JSON representation

A Laravel package with an encryptable trait to manage encrypting database table fields

Awesome Lists containing this project

README

          

# Laravel Encryptable

[![Latest Version on Packagist](https://img.shields.io/packagist/v/venturedrake/laravel-encryptable.svg?style=flat-square)](https://packagist.org/packages/venturedrake/laravel-encryptable)
[![Build Status](https://travis-ci.com/venturedrake/laravel-encryptable.svg?branch=master)](https://travis-ci.com/venturedrake/laravel-encryptable)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3e78594a3733454e9ebed819debed985)](https://www.codacy.com/gh/venturedrake/laravel-encryptable/dashboard?utm_source=github.com&utm_medium=referral&utm_content=venturedrake/laravel-encryptable&utm_campaign=Badge_Grade)
[![Total Downloads](https://img.shields.io/packagist/dt/venturedrake/laravel-encryptable.svg?style=flat-square)](https://packagist.org/packages/venturedrake/laravel-encryptable)

Automatically encrypt and decrypt database table fields.

## Installation

You can install the package via composer:

``` bash
composer require venturedrake/laravel-encryptable
```

You can publish the config file with:
``` bash
php artisan vendor:publish --provider="VentureDrake\LaravelEncryptable\LaravelEncryptableServiceProvider" --tag="config"
```

## Usage

Add the trait to your model and your encryptable rules.
``` php