beastbytes/token-php

Yii Token PHP storage

dev-master 2025-03-24 13:05 UTC

This package is auto-updated.

Last update: 2025-03-24 13:05:18 UTC


README

PHP file storage for the BeastBytes Token package.

Do not use this package directly; use TokenManager in BeastBytes Token package.

Requirements

  • PHP 8.1 or higher.

Installation

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"

Configuration

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
];