PHP Package: web-token/jwt-library

A PHP library for JSON Web Tokens (JWT) creation and validation.

Current Version: 4.0.4
Last Updated: Date not available
PHP Requirement: >=7.1
Dependencies:
firebase/php-jwt
lcobucci/jwt
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The JWT Library for PHP provides a simple and secure way to create, encode, and validate JSON Web Tokens. It offers a flexible and reliable solution for implementing token-based authentication and authorization mechanisms in web applications. With support for various algorithms and token types, this library simplifies the process of working with JWTs in PHP projects.

🔗 View on GitHub

Download Latest Version: 4.0.4

Download Download v4.0.4

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-library/lib_version/autoload.php';

use WebToken\JWTLibrary\JWT;
use Firebase\JWT\JWT;
use Lcobucci\JWT\Token;


$obj = new WebToken\JWTLibrary\JWT();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.