Registry / orm / muffin-trash

muffin-trash

JSON →
library4.2.2phppackagistunverified

Adds soft delete support to CakePHP ORM tables.

composer require muffin/trash
INSTALL
IMPORT
SIG · MUFFIN-TRASH
M
muffin-trash
ormphpv4.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TrashBehavior
use Muffin\Trash\Model\Behavior\TrashBehavior;

Add TrashBehavior to a CakePHP table

<?php require 'vendor/autoload.php'; use Muffin\Trash\Model\Behavior\TrashBehavior; // In your Table class: // $this->addBehavior('Muffin/Trash.Trash');
Debug
Known issues
breakingRequires CakePHP 4.x+ and may conflict with other behaviors.
fix
Ensure compatibility with your CakePHP version and check for behavior ordering.
affects: >=4.0.0
Upgrade
Version history
4.2.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
36
Resources
muffin-trash — pip install muffin-trash · libregistry