Download the PHP
package phoenix-media/magento2-cleanup without Composer
On this page you can find all versions of the php package
phoenix-media/magento2-cleanup. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor phoenix-media Package magento2-cleanup Short Description The module archives and removes old files. License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package magento2-cleanup
Phoenix Media Cleanup
The module archives and removes old entities. It supports log files, product images and quotes.
What it does
For files it basically replaces logrotate. It archives and compresses log files and cleans
up the archive folder after a configurable period.
For product images it finds unreferenced files in media/catalog/product and moves them to a
recycle bin which gets purged after a configurable period.
For quotes it simply removes customer and guest quotes after a configurable period.
How it works
The module provides a cron job and a shell command to execute the cleanup jobs. Those jobs are
implemented as "handlers" which clean up a specific entity. The set of bundled
handlers can be easily extended by custom handlers via di.xml. A resolver will then expose
configured handlers to the cron job and the shell command which then can execute the
cleanup without additional configuration.
New handlers need to implement the HandlerInterface and be registerdto the handlerPool
using di.xml.
How to use
Install the module via Composer:
Enable it
Install the module and rebuild the DI cache
How to configure
Find the modules configuration in the PHOENIX MEDIA section of your Magento configuration.
All versions of magento2-cleanup with dependencies
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package phoenix-media/magento2-cleanup contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.