bigdropinc / yii2-active-interaction
Manage business logic
Installs: 200
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-10 16:03:56 UTC
README
Extension to encapsulate business logic
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bigdropinc/yii2-active-interaction "*"
or add
"bigdropinc/yii2-active-interaction": "*"
to the require section of your composer.json
file.
Usage
Usage
$post = (new CreatePost)([ 'user' => \Yii::$app->user->identity ])->run(\Yii::$app->request->post());