oxenti/soft-delete
Composer 安装命令:
composer require oxenti/soft-delete
包简介
SoftDelete plugin for CakePHP
README 文档
README
This plugins has been developped for cakephp 3.x.
Installation
You can install this plugin into your CakePHP application using composer.
Update your composer file to include this plugin:
composer require oxenti/soft-delete
Configuration
- Load the plugin:
// In /config/bootstrap.php
Plugin::load('SoftDelete');
- Make a model soft deleteable by using SoftDelete trait:
// in src/Model/Table/UsersTable.php
...
use SoftDelete\Model\Table\SoftDeleteTrait;
class UsersTable extends Table
{
use SoftDeleteTrait;
...
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-10-07