Skip to content

oxenti/soft-delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

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

  1. Load the plugin:
// In /config/bootstrap.php
Plugin::load('SoftDelete');
  1. 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;
    ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages