PHP file storage for the BeastBytes Token package.
Do not use this package directly; use TokenManager in BeastBytes Token package.
- PHP 8.1 or higher.
Installed the package with Composer:
composer require beastbytes/token-php
or add the following to the 'require' section composer.json:
"beastbytes/token-php": "^1.0"
If using Yii's dependency injection container, add the following to the "params" of your configuration:
return [
'beastbytes/token' => [
'filePath' => '/path/to/token/storage/file',
],
// other parameters
];