{"id":94234,"library":"yii2tech-ar-softdelete","title":"Yii2 AR Soft Delete","description":"Provides support for ActiveRecord soft delete in Yii2","status":"active","version":"1.0.4","language":"php","source_language":null,"source_url":"https://github.com/yii2tech/ar-softdelete","tags":["yii2","soft-delete","active-record","behavior"],"install":[{"cmd":"composer require yii2tech/ar-softdelete","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"SoftDeleteBehavior","correct":"use yii2tech\\ar\\softdelete\\SoftDeleteBehavior;"}],"quickstart":{"code":"use yii2tech\\ar\\softdelete\\SoftDeleteBehavior;\n\n// Attach behavior to an ActiveRecord model\npublic function behaviors()\n{\n    return [\n        'softDelete' => [\n            'class' => SoftDeleteBehavior::class,\n        ],\n    ];\n}","lang":"php","description":"Attach the SoftDeleteBehavior to an ActiveRecord model."},"warnings":[],"env_vars":null,"search_vec":"'activ':18 'active-record':17 'activerecord':8 'ar':2 'behavior':20 'delet':4,10,16 'provid':5 'record':19 'soft':3,9,15 'soft-delet':14 'support':6 'yii2':1,12,13","created_at":"2026-06-19T10:03:14.010769+00:00","updated_at":"2026-06-19T10:03:14.010769+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/yii2tech/ar-softdelete","github":"https://github.com/yii2tech/ar-softdelete","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["orm"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}