PHP Package: web-token/jwt-encryption

PHP library for secure encoding and decoding of JSON Web Tokens (JWTs) in web applications.

Current Version: 3.0.7
Last Updated: Date not available
PHP Requirement: >=8.1
Dependencies:
web-token/jwt-core
web-token/jwt-key-mgmt
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The JWT Encryption PHP library offers robust functionality for handling JSON Web Tokens, enabling secure data transmission and authentication in web services. It supports various encryption algorithms and key formats, ensuring data integrity and confidentiality. With this library, developers can easily integrate JWT functionality into their PHP applications, enhancing security and user authentication processes.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.0.7

Download Download v3.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/3.0.7/loader.php';
require_once 'libs/web-token/jwt-core/0.0.0/loader.php';
require_once 'libs/web-token/jwt-key-mgmt/3.0.7/loader.php';

use WebToken\JWT\Encryption\JWTEncoder;
use WebToken\JWT\Core\JWT;
use WebToken\JWT\KeyMgmt\Key;

$obj = new JWTEncoder();
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.