Download the PHP package fr3on/php-vault without Composer
On this page you can find all versions of the php package fr3on/php-vault. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fr3on/php-vault
More information about fr3on/php-vault
Files in fr3on/php-vault
Download fr3on/php-vault
More information about fr3on/php-vault
Files in fr3on/php-vault
Vendor fr3on
Package php-vault
Short Description PHP 8.4+ envelope encryption library for structured data protection
License MIT
Package php-vault
Short Description PHP 8.4+ envelope encryption library for structured data protection
License MIT
Please rate this library. Is it a good library?
Informations about the package php-vault
php-vault
A modern, high-security PHP 8.4+ envelope encryption library using Libsodium.
php-vault implements the envelope encryption pattern: every record is encrypted with a unique Data Encryption Key (DEK), which is then protected by a Master Key (KEK). This ensures that even if one record is compromised, the rest remain secure, and master keys can be rotated without re-encrypting entire datasets.
Features
- Envelope Encryption: Unique DEK per record.
- Libsodium Powered: Uses
xchacha20poly1305_ietffor data andsecretboxfor keys. - Memory Safe: Automatically wipes keys from memory (
sodium_memzero) when objects are destroyed. - Leak Proof: Redacts sensitive information in debug dumps (
var_dump,print_r). - Field-Level Protection: Easily encrypt specific fields in associative arrays.
- Key Rotation: Re-encrypt DEKs with a new Master Key without touching the plaintext data.
- Zero Dependencies: Pure PHP 8.4+ logic using native extensions.
Installation
Usage
Basic Seal/Open
Field-Level Encryption
Key Rotation
Security Standards
- PHP 8.4+ required for modern security features.
- Level 9 PHPStan for total type safety.
- IND-CCA2 Secure: Uses AEAD for all data payloads.
- Tamper Evident: Throws exceptions if any bit of the envelope is modified.
License
MIT License. See LICENSE for details.
All versions of php-vault with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
ext-sodium Version *
ext-sodium Version *
The package fr3on/php-vault contains the following files
Loading the files please wait ...