fedornabilkin / yii2-exchange
The exchange of credits on the basis of Yii2
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- dektrium/yii2-user: ^0.9.14
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2025-03-06 20:21:51 UTC
README
The exchange of credits on the basis of Yii2
This extension uses the module yii2-user.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist fedornabilkin/yii2-exchange "*"
or add
"fedornabilkin/yii2-exchange": "*"
to the require section of your composer.json
file.
Migrations
php yii migrate --migrationPath=@fedornabilkin/exchange/migrations
Usage
Your project's User model must implement
the interfaces/IExchangeUserInterface
,
since the user's actions on the exchange will initiate a call
to the exchangeCreditAction(), exchangeCreditSale(), exchangeCreditBuy()
methods.