2017 © Pedro Peláez
 

cakephp-plugin soft-delete

SoftDelete plugin for CakePHP

image

oxenti/soft-delete

SoftDelete plugin for CakePHP

  • Thursday, October 15, 2015
  • by oxenti
  • Repository
  • 7 Watchers
  • 0 Stars
  • 51 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Requirements

This plugins has been developped for cakephp 3.x., (*1)

Installation

You can install this plugin into your CakePHP application using composer., (*2)

Update your composer file to include this plugin:, (*3)

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;
    ...

The Versions

15/10 2015

dev-master

9999999-dev

SoftDelete plugin for CakePHP

  Sources   Download

The Requires

 

The Development Requires

plugin cakephp delete soft deletable cakephp 3