PHP Package: web-token/jwt-encryption-algorithm-aesgcm
AES-GCM encryption algorithm for JSON Web Tokens in PHP for enhanced security
Package Description
The JWT Encryption Algorithm AES-GCM provides a robust encryption method for JSON Web Tokens, ensuring data integrity and confidentiality. This library integrates seamlessly with PHP, offering a secure solution for token encryption. With AES-GCM, you can encrypt JWTs with high efficiency and minimal risk, safeguarding sensitive information across web applications and services.
Download Latest Version: 3.0.7

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/web-token/jwt-encryption-algorithm-aesgcm/3.0.7/loader.php';
require_once 'libs/web-token/web-token/{lib_version}/loader.php';
require_once 'libs/phpseclib/phpseclib/3.0.43/loader.php';
use Jose\Component\Encryption\Algorithm\A128GCMKW;
use Jose\Component\Encryption\Algorithm\A192GCMKW;
use Jose\Component\Encryption\Algorithm\A256GCMKW;
$obj = new A128GCMKW();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.