Registry / orm / yii2tech-ar-softdelete

yii2tech-ar-softdelete

JSON →
library1.0.4phppackagistunverified

Provides support for ActiveRecord soft delete in Yii2

composer require yii2tech/ar-softdelete
INSTALL
IMPORT
SIG · YII2TECH-AR-SOFTDE
Y
yii2tech-ar-softdelete
ormphpv1.0.4
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.

SoftDeleteBehavior
use yii2tech\ar\softdelete\SoftDeleteBehavior;

Attach the SoftDeleteBehavior to an ActiveRecord model.

use yii2tech\ar\softdelete\SoftDeleteBehavior; // Attach behavior to an ActiveRecord model public function behaviors() { return [ 'softDelete' => [ 'class' => SoftDeleteBehavior::class, ], ]; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
34
OpenAI (training)
1
Resources
yii2tech-ar-softdelete — pip install yii2tech-ar-softdelete · libregistry