PHPackages                             fixer112/encrypter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. fixer112/encrypter

ActiveLibrary[Security](/categories/security)

fixer112/encrypter
==================

Simple AES-256-CBC encrypter decrypter

v1.2.0(11mo ago)08MITPHPPHP ^8.1CI failing

Since Jun 3Pushed 11mo agoCompare

[ Source](https://github.com/fixer112/encrypter)[ Packagist](https://packagist.org/packages/fixer112/encrypter)[ RSS](/packages/fixer112-encrypter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

Fixer112 Encrypter
==================

[](#fixer112-encrypter)

Simple AES-256-CBC encryption/decryption PHP library using fixed key and IV loaded from environment variables.

---

Installation
------------

[](#installation)

Install via Composer:

```
composer require fixer112/encrypter
```

Environment Setup
-----------------

[](#environment-setup)

Create a `.env` file in your project root with these variables:

```
ENCRYPTER_KEY=your-secret-key-here
ENCRYPTER_IV=your-iv-here
```

Usage
-----

[](#usage)

```
