2017 © Pedro Peláez
 

project jwt

Cerad JWT - Json Web Token Component

image

cerad/jwt

Cerad JWT - Json Web Token Component

  • Tuesday, May 5, 2015
  • by ahundiak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

JWT - Json Web Token Component

Copied from: https://github.com/firebase/php-jwt, (*1)

Converted static functions to instance for dependency injection., (*2)

Returned payload as an array instead of a class., (*3)

    $jwt = new JwtCoder('my_key');

    $payload =
    [
      "message" => "abc",
      "exp"     => time() + 20
    ];

    $encoded = $jwt->encode($payload);
    $decoded = $jwt->decode($encoded);

    $this->assertEquals($decoded['message'], 'abc');

composer require cerad/jwt, (*4)

The Versions

05/05 2015

dev-master

9999999-dev http://zayso.org

Cerad JWT - Json Web Token Component

  Sources   Download

MIT

The Requires

  • php >=5.5.5

 

The Development Requires

by Art Hundiak

29/04 2015

v0.1.2

0.1.2.0 http://zayso.org

Cerad JWT - Json Web Token Component

  Sources   Download

MIT

The Requires

  • php >=5.5.5

 

The Development Requires

by Art Hundiak

20/04 2015

v0.1.1

0.1.1.0 http://zayso.org

Cerad JWT - Json Web Token Component

  Sources   Download

MIT

The Requires

  • php >=5.5.5

 

by Art Hundiak

20/04 2015

v0.1.0

0.1.0.0

JWT - Json Web Token Component

  Sources   Download

MIT