https://github.com/doctrine/mongodb-odm-softdelete-bundle
Symfony2 bundle that integrates the Doctrine MongoDB ODM SoftDelete library.
https://github.com/doctrine/mongodb-odm-softdelete-bundle
Last synced: 7 months ago
JSON representation
Symfony2 bundle that integrates the Doctrine MongoDB ODM SoftDelete library.
- Host: GitHub
- URL: https://github.com/doctrine/mongodb-odm-softdelete-bundle
- Owner: doctrine
- Archived: true
- Created: 2011-02-04T17:54:50.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2012-05-09T02:01:24.000Z (about 14 years ago)
- Last Synced: 2025-10-09T12:21:41.940Z (10 months ago)
- Language: PHP
- Homepage: http://www.doctrine-project.org
- Size: 114 KB
- Stars: 14
- Watchers: 9
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Doctrine MongoDB SoftDelete Bundle
This bundle implements soft-deletion for Doctrine MongoDB ODM and Symfony2.
## Installation **(Symfony 2.0.x only)**
##### 1. Add the following to your `deps` file:
```ini
[doctrine-odm-softdelete]
git=git://github.com/doctrine/mongodb-odm-softdelete.git
[DoctrineMongoDBSoftDeleteBundle]
git=git://github.com/doctrine/mongodb-odm-softdelete-bundle.git
target=bundles/Doctrine/Bundle/MongoDBSoftDeleteBundle
```
##### 2. Run the vendors install script:
```
php bin/vendors install
```
##### 3. Add the `Doctrine\\ODM\\MongoDB\\SoftDelete` namespace to `app/autoload.php`:
```php
registerNamespaces(array(
// ...
'Doctrine\\ODM\\MongoDB\\SoftDelete' => __DIR__ . '/../vendor/doctrine-odm-softdelete/lib',
```
##### 4. Setup the bundle to load in `app/appKernel.php`:
```php