tangle / tangle-cookie-php
Tangle-Cookie PHP library
0.0.4
2023-03-04 23:26 UTC
Requires
- ext-json: *
- firebase/php-jwt: ^6.0
This package is not auto-updated.
Last update: 2024-12-08 08:30:13 UTC
README
A Tangle-Cookie is released under the open source MIT-license.
Tangle-Cookie PHP library Simple abstraction of cookie based JWT encoded
Installation
$ composer require tangle/tangle-cookie-php dev-master
Usage
Just instantiate it as shown in example
$tangle = new \Tangle\TangleCookie();
Then simply entangle yourself with
//get tangle
$tangle->tangle;
//check if key is already in tangle
$tangle->inTangle($key);
//add to tangle
$tangle->addTangle($key, $value);
//remove from tangle
$tangle->rmTangle($key);
//update tangle
$tangle->updateTangle($key, $value);
Reporting issues
See our Contributing to Tangle-Cookie guide.
Support
Have a question? Want to chat? Run into a problem? See our community page.