lion / security
Library created with the function of implementing AES, RSA and JWT security features for PHP.
v12.0.3
2026-06-04 23:02 UTC
Requires
- php: >=8.5
- ext-openssl: *
- firebase/php-jwt: ^6.1 || ^7.0
- vlucas/valitron: ^1.4
Requires (Dev)
- guzzlehttp/guzzle: ^7.8
- infection/infection: ^0.29.14 || ^0.31.0 || ^0.32.0 || ^0.33.0
- lion/test: ^3.2 || ^4.0
- overtrue/phplint: ^9.5
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.0 || ^13.0
- squizlabs/php_codesniffer: ^3.11 || ^4.0
This package is auto-updated.
Last update: 2026-06-04 23:03:31 UTC
README
🚀 Lion-Security Library created with the function of implementing AES and RSA Security functions for PHP, it also includes functions to create JWT.
📖 Features
✔️ Symmetric encryption with AES.
✔️ JWT token generation.
✔️ Encryption key creation and RSA encryption.
✔️ Password creation using the SHA256 algorithm.
📦 Installation
Install the security using Composer:
composer require lion/security
📝 License
The security is open-sourced software licensed under the MIT License.