beastbytes / token-db
Token database storage
dev-master
2025-03-24 13:03 UTC
Requires
- php: ^8.1
- ext-pdo: *
- beastbytes/token: dev-master
- yiisoft/db: ^1.2
- yiisoft/db-migration: ^1.1
Requires (Dev)
- phpunit/phpunit: ^10.0
- vimeo/psalm: ^5.0
- yiisoft/cache: ^3.0
- yiisoft/db-sqlite: ^1.0
Suggests
- beastbytes/token-uuid4: Factory for UUID4 tokens
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 ];