skcms/trashbin-bundle

Symfony SKCMS Trashbin Bundle by SOLID-kiss

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2015-09-05 13:55 UTC

This package is auto-updated.

Last update: 2023-03-20 01:17:25 UTC


README

This package is currently under development, more documentation and features will come soon.

The TrashBin bundle of SKCMS for Symfony2

Installation

Download dependecies via composer

use php composer.phar instead of composer on Windows

composer require SKCMS/trashbin-bundle:dev-master

Set entity trashBinable

use annotation:

use SKCMS\TrashBinBundle\Annotation\TrashBinable as TrashBinable;
/**
* @ORM\Table()
* @ORM\Entity
* @TrashBinable
*/
class MyEntity{
//...

That's all. The reverse method exist but not yet implemented.

An interface to see trashbinned entities and restore it has to be done quickly.