PHPackages                             farizfadian/phpcrypt - 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. farizfadian/phpcrypt

ActiveLibrary[Security](/categories/security)

farizfadian/phpcrypt
====================

Jasypt-like encryption library for PHP - Encrypt your configuration with ENC(...) pattern

1.0.0(3mo ago)00MITPHPPHP &gt;=8.1CI passing

Since Feb 26Pushed 3mo agoCompare

[ Source](https://github.com/farizfadian/phpcrypt)[ Packagist](https://packagist.org/packages/farizfadian/phpcrypt)[ Docs](https://github.com/farizfadian/phpcrypt)[ RSS](/packages/farizfadian-phpcrypt/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHPCrypt 🔐
==========

[](#phpcrypt-)

[![CI](https://github.com/farizfadian/phpcrypt/actions/workflows/ci.yml/badge.svg)](https://github.com/farizfadian/phpcrypt/actions/workflows/ci.yml)[![Latest Version](https://camo.githubusercontent.com/a6e28b5bd66a91e6b9bbcf65834d87de232c45fae210a1a4acb7c2e4fb794317/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666172697a66616469616e2f70687063727970742e737667)](https://packagist.org/packages/farizfadian/phpcrypt)[![PHP Version](https://camo.githubusercontent.com/670dd0e04b929c4a7bfa25606fb1d6440931a089fd9a61be34a8192ae423b181/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f666172697a66616469616e2f70687063727970742e737667)](https://packagist.org/packages/farizfadian/phpcrypt)[![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)

**Jasypt-like encryption library for PHP** - Encrypt your application configuration with the familiar `ENC(...)` pattern used in Spring Boot applications.

> **Made with ❤️ from Claude AI for PHP developers who need Jasypt**

---

🎯 Why PHPCrypt?
---------------

[](#-why-phpcrypt)

If you're coming from Java/Spring Boot world and need to share encrypted configuration across multiple languages, PHPCrypt is for you! It provides:

- ✅ **Familiar `ENC(...)` pattern** - Just like Jasypt in Spring Boot
- ✅ **Java Jasypt compatibility** - Decrypt values encrypted by Java
- ✅ **Multiple algorithms** - From legacy Jasypt to modern AES-256-GCM
- ✅ **Laravel/Symfony ready** - Easy integration with PHP frameworks
- ✅ **CLI tool included** - Encrypt/decrypt from command line
- ✅ **Cross-platform** - Works with GoCrypt, PyCrypt, NodeCrypt, and Java Jasypt

---

📦 Installation
--------------

[](#-installation)

```
composer require farizfadian/phpcrypt
```

---

🚀 Quick Start
-------------

[](#-quick-start)

### Basic Encryption/Decryption

[](#basic-encryptiondecryption)

```
