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
- Host: GitHub
- URL: https://github.com/venturedrake/laravel-encryptable
- Owner: venturedrake
- License: mit
- Created: 2020-11-08T04:56:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-20T06:29:46.000Z (9 months ago)
- Last Synced: 2025-06-15T20:15:12.672Z (6 months ago)
- Topics: database, database-encryption, database-security, decryption, encryption, encryption-decryption, laravel, laravel-package, security-hardening, security-vulnerabilities
- Language: PHP
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Laravel Encryptable
[](https://packagist.org/packages/venturedrake/laravel-encryptable)
[](https://travis-ci.com/venturedrake/laravel-encryptable)
[](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)
[](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