InitPHP Encryption

Authenticated symmetric encryption for PHP 8.1+ on top of OpenSSL and libsodium, with a versioned ciphertext format.

PHP 8.1+ MIT v2.0.0

Installation

terminal
$ composer require initphp/encryption

Requires PHP 8.1+. The package is published on Packagist as initphp/encryption.

What Encryption does

Secure, modern symmetric encryption for PHP 8.1+ on top of OpenSSL and libsodium — authenticated by default, versioned ciphertext format, single exception type.

Package details

Composer package
initphp/encryption
Latest version
2.0.0
Released
2026-05-24
Requires
PHP 8.1+ (^8.1)
License
MIT