Search by

maatify / jwt

Maatify

This package is abandoned and no longer maintained. No replacement package was suggested.

maatify.com

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

5.0.1 2025-08-10 02:37 UTC

This package is auto-updated.

Last update: 2026-07-11 18:56:11 UTC


README

Current version Packagist PHP Version Support Monthly Downloads Total Downloads Stars

JWT

maatify.dev JWT handler, known by our team

Installation

composer require maatify/jwt

To Use

Create Class Extend JWTAssist

<?php

use JwtHandler\JWTAssist;

class JwtCheck extends JWTAssist
{
    protected string $ssl_secret = '6GSSLr%70SecrectH1IAbtestzoHB0!0bI';
    protected string $ssl_key = 'M7u9SSLR3&0testwXRAIbKEYGoYJjK';
    protected string $ssl_cipher_algo = 'AES-128-ECB';

    public function Hash(): string
    {
        return $this->Encode('www.maatify.dev', 60, ['array of data']);
    }

    public function Dehash(string $jwt_token): \stdClass
    {
        return $this->Decode($jwt_token);
    }
}