Download the PHP package bestit/commercetools-cleanup without Composer
On this page you can find all versions of the php package bestit/commercetools-cleanup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bestit/commercetools-cleanup
More information about bestit/commercetools-cleanup
Files in bestit/commercetools-cleanup
Package commercetools-cleanup
Short Description Shell app to clean up the commercetools database.
License MIT
Informations about the package commercetools-cleanup
symfony-commercetools-cleanup
Shell app to delete entries out of your commercetools database matching predicates out of your config.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Configure the bundle
Example:
You can provide a strtotime-compatible string enclosed with {{ and }} to get dynamic date checks.
Step 4: Use the command
If you provide the option -s/--simulate no row will be deleted, the total count will just be outputted.
Further Todos
- More Unittesting
- Refactor the command
- Add more Types
- Add Exceptions in the delete process
All versions of commercetools-cleanup with dependencies
symfony/symfony Version ^3.2
symfony/monolog-bundle Version ^3.0.2
symfony/polyfill-apcu Version ^1.0
sensio/distribution-bundle Version ^5.0
sensio/framework-extra-bundle Version ^3.0.2
incenteev/composer-parameter-handler Version ^2.0
commercetools/php-sdk Version ^1.7