blurrywindows / yii2-key-helper
Simple Yii 2 helper that generates unique keys and validates them against a database table and column.
Installs: 18
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:yii2-extension
Requires
- php: >=5.6.0
- yiisoft/yii2: ~2.0.5
This package is not auto-updated.
Last update: 2021-11-27 13:14:44 UTC
README
This is a Yii 2 extension that may be used to generate unique keys.
TABLE OF CONTENTS
FEATURES
- Generate a unique key based on table, column and given length.
- Generate a key based on a random component and the current time.
- Generate a key based on a random component and the current time and add the current timestamp for validation purposes.
REQUIREMENTS
- PHP >= 7.0 (or PHP >= 5.6.0 with paragonie/random_compat)
- Composer >= 1.1.2 (https://getcomposer.org/)
INSTALLATION
composer require blurrywindows/yii2-key-helper
HOW TO CONTRIBUTE
You may contribute in any way you want, but please contact me beforehand to prevent merge-conflicts by creating an issue.
ISSUES
If you have any questions or experience any issues with this helper, please submit an issue.