2017 © Pedro Peláez
 

library fernet-php

An implementation of the Fernet token specification in PHP.

image

kelvinmo/fernet-php

An implementation of the Fernet token specification in PHP.

  • Tuesday, December 29, 2015
  • by kelvinmo
  • Repository
  • 2 Watchers
  • 5 Stars
  • 5,114 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 6 Versions
  • 15 % Grown

The README.md

Fernet-PHP

Latest Stable Version Build Status, (*1)

Fernet-PHP is an implementation of the Fernet token specification in PHP., (*2)

Requirements

  • PHP 7.0 or later
  • hash extension
  • openssl or mcrypt extension
  • mbstring.func_overload needs to be switched off in php.ini

Installation

You can install via Composer., (*3)

composer require kelvinmo/fernet-php

Usage

encode('string message');

$message = $fernet->decode('fernet token');
if ($message === null) {
    echo 'Token is not valid';
}

?>

License

BSD 3 clause, (*4)

The Versions

29/12 2015

dev-master

9999999-dev

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • ext-hash *
  • php >=5.4

 

The Development Requires

by Kelvin Mo

29/12 2015

v0.5.0

0.5.0.0

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4
  • ext-hash *

 

The Development Requires

by Kelvin Mo

11/12 2015

v0.4.0

0.4.0.0

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4
  • ext-hash *

 

The Development Requires

by Kelvin Mo

10/09 2015

v0.3.0

0.3.0.0

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4
  • ext-hash *

 

The Development Requires

by Kelvin Mo

31/01 2015

v0.2.0

0.2.0.0

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3
  • ext-hash *

 

The Development Requires

by Kelvin Mo

02/01 2015

v0.1.0

0.1.0.0

An implementation of the Fernet token specification in PHP.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3
  • ext-hash *

 

The Development Requires

by Kelvin Mo