runelaenen / sw6-media-optimizer
Media Optimizer for Shopware 6
Fund package maintenance!
runelaenen
buymeacoffee.com/runelaenen
Installs: 3 048
Dependents: 0
Suggesters: 0
Security: 0
Stars: 29
Watchers: 5
Forks: 6
Open Issues: 5
Type:shopware-platform-plugin
Requires
- spatie/image-optimizer: 1.3.2
Requires (Dev)
- phpro/grumphp-shim: ^1.0
This package is auto-updated.
Last update: 2024-10-26 22:24:37 UTC
README
Optimize image files using spatie/image-optimizer. This package can optimize PNGs, JPGs, SVGs and GIFs by running them through a chain of various image optimization tools. This Shopware plugin uses it's power to optimize the original files uploaded to your Shopware webshop. It doesn't touch any generated (thumbnail) files and thus will not have a lot of impact on the frontend of your website.
Optimization tools
The package will use these optimizers if they are present on your system:
Please take a look at the README of spatie/image-optimizer to find out how to install these optimizers on your system.
How to install
Composer install (recommended)
composer require runelaenen/sw6-media-optimizer
bin/console plugin:refresh
bin/console plugin:install --activate RuneLaenenMediaOptimizer
You can now run the optimizer
bin/console rl:media:optimize
Tip: use the --info
option to show all enabled optimizers.
Plugin update (composer)
composer update runelaenen/sw6-media-optimizer
bin/console plugin:update RuneLaenenMediaOptimizer
.zip install
- Download the latest RuneLaenenMediaOptimizer.zip from the latest release.
- Upload the zip in the Shopware Administration
- Install & Activate the plugin
Plugin update (zip)
- Download the latest RuneLaenenMediaOptimizer.zip from the latest release.
- Upload the zip in the Shopware Administration
- Update the plugin