Skip to content

Custom doctrine column type that encodes as a json string, then encrypts the string.

License

Notifications You must be signed in to change notification settings

brighte-labs/doctrine-encrypted-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encrypted JSON Type

A custom type for storing json arrays as encrypted strings using mysql.

Depends on michaeldegroot/doctrine-encrypt-bundle for encryptors, interface.

Authors

Chris Young [email protected]

Installation

composer require michaeldegroot/doctrine-encrypt-bundle

\Doctrine\DBAL\Types\Type::addType('json_encrypted', EncryptedJsonType::class);
\Doctrine\DBAL\Types\Type::getType('json_encrypted', EncryptedJsonType::class)->setEncryptor(new HalineEncryptor());

Contributing

  • Never commit directly to master. Always make pull requests to the Authors
  • This repository does not use git flow. There is no develop branch, only master and features.
  • PHP codesniffer linting must pass. Do not use disable annotations.
  • All tests must pass. 90% code coverage is required.

About

Custom doctrine column type that encodes as a json string, then encrypts the string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages