beastbytes/token-db

Token database storage

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

This package is auto-updated.

Last update: 2025-03-24 13:04:13 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' => [
        'tableName' => 'token_table_name', // use TokenStorage::TABLE_NAME 
    ],
    // other parameters
];