Download the PHP package bcrowe/cakephp-encrypted-type without Composer
On this page you can find all versions of the php package bcrowe/cakephp-encrypted-type. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bcrowe/cakephp-encrypted-type
More information about bcrowe/cakephp-encrypted-type
Files in bcrowe/cakephp-encrypted-type
Package cakephp-encrypted-type
Short Description CakePHP 4 plugin that provides application-level database encryption.
License MIT
Homepage https://github.com/bcrowe/cakephp-encrypted-type
Informations about the package cakephp-encrypted-type
CakePHP Encrypted Type
This plugin provides a CakePHP 4 encrypted database type for application-level encryption. Before using this plugin you may want to weigh your options between full-disk, database-level, and application-level encryption. This plugin was born out of Amazon Aurora not supporting encryption with cross region replication before March 28, 2017.
Install
Via Composer
Load the plugin in your application's bootstrap.php
file, then define the type
mapping:
Make sure to have a Encryption.key
config value in your config/app.php
file:
Usage
Note: This database type expects columns to be nullable in the case of an
omitted column or whenever explicitly setting a null
value for a column.
Use BLOB
types for columns that are to be encrypted, for example:
Map the type to a column in your Table class:
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Bryan Crowe
- All Contributors
License
The MIT License (MIT). Please see License File for more information.