wolfpack-it/yii2-active-record-soft-delete
最新稳定版本:v1.2.0
Composer 安装命令:
composer require wolfpack-it/yii2-active-record-soft-delete
包简介
Yii2 Active Record - Soft delete
README 文档
README
This extension provides Soft delete integration for the Active Record of Yii2 Framework.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require wolfpack-it/yii2-active-record-soft-delete
or add
"wolfpack-it/yii2-active-record-soft-delete": "^<latest version>"
to the require section of your composer.json file.
Configuration
In a Active Record:
class ActiveRecordClass extends \yii\db\ActiveRecord { use \WolfpackIT\softDelete\traits\SoftDelete; }
TODO
- Add tests
Credits
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 1.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-17