Download the PHP package webpix-io/module-optimizer without Composer

On this page you can find all versions of the php package webpix-io/module-optimizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

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 module-optimizer

WebPix Optimizer for Magento 2

Speed up Magento 2 storefronts with automatic image optimization, modern image conversion, CDN delivery, responsive catalog images, SVG optimization, CSS/JS delivery and Google Fonts display control.

WebPix Optimizer is a Magento 2 performance module that connects your store to the WebPix CDN. It helps reduce page weight, improve Core Web Vitals, optimize LCP images and deliver storefront assets in modern formats such as WebP and AVIF without manually changing every template.

Website: https://webpix.io

Magento integration docs: https://webpix.io/integrations/magento

Why use WebPix Optimizer?

Magento stores often ship heavy product images, CMS banners, theme assets and third-party font files. This increases page weight, slows down category and product pages, hurts mobile performance and can reduce conversion rates.

WebPix Optimizer solves this at the delivery layer:

Best for

Features

Image optimization

Asset optimization

Secure delivery

Requirements

Installation

Run from your Magento root directory:

For production mode:

Configuration

Open Magento admin:

Since version 1.0.2, WebPix Optimizer uses its own configuration section and config paths under webpix_optimizer/.... If you upgraded from an older version, re-enter the WebPix credentials in the new WebPix Optimizer section.

Version 1.0.4 improves reading Magento encrypted configuration values when the store uses a non-zero encryption key version.

Enable the module:

Add your WebPix access values:

Secret values are stored by Magento using encrypted backend config fields.

CDN mode

Use the default WebPix CDN:

Use your own custom CDN hostname:

Enter only the hostname. Do not include https://.

Recommended image settings

Start with:

Use AVIF when your storefront audience and testing confirm that AVIF is the right default. WebP is a safe starting point for broad compatibility.

CSS, JS and fonts

Enable these after image optimization is confirmed:

CSS and JS can be enabled separately. This lets you test image optimization first, then expand delivery optimization to other storefront assets.

Verify installation

Check that Magento sees the module:

Clear cache after changing settings:

Debug signature generation without printing secret values:

Open a product, category or CMS page and inspect the HTML. Optimized image URLs should look like:

With a custom CDN hostname:

Depending on enabled settings, you may also see:

Disable optimization

Temporarily disable WebPix optimization without removing the module:

Enable it again:

Troubleshooting

WebPix URLs do not appear

Custom CDN hostname does not work

Images work but CSS or JS does not

SVG returns an error

SEO keywords

Magento 2 image optimization, Magento image CDN, Magento WebP extension, Magento AVIF images, Magento Core Web Vitals, Magento LCP optimization, Magento performance module, Magento responsive images, Magento SVG optimization, Magento CSS optimization, Magento JS optimization, WebPix CDN for Magento.

Support

WebPix: https://webpix.io

Integration docs: https://webpix.io/integrations/magento/


All versions of module-optimizer with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
magento/framework Version *
magento/module-catalog Version *
magento/module-csp Version *
magento/module-store Version *
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 webpix-io/module-optimizer contains the following files

Loading the files please wait ...