Magento module that implements Google WebP in your frontend. This extension requires the "cwebp" binary to be installed on the server, and uses PHP exec() to access this binary. For details on installing "cwebp", refer to the Google WebP project.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source
.travis.yml
LICENSE.txt
README.md
composer.json
modman
phpcs.xml

README.md

Yireo Webp

Magento extension to allow for WebP support in your frontend

More information: https://www.yireo.com/software/magento-extensions/webp

You can install this module in various ways:

  1. Download the MagentoConnect package from our site and upload it into your own Magento Downloader application.

  2. Download the Magento source archive from our site, extract the files and upload the files to your Magento root. Make sure to flush the Magento cache. Make sure to logout once you're done.

  3. Use modman to install the git repository for you:

    modman init modman clone https://github.com/yireo/Yireo_Webp modman update Yireo_Webp

  4. Use composer to install the composer package for you. See below.

Instructions for using composer

Use composer to install this extension. First make sure to initialize composer with the right settings:

composer -n init
composer install --no-dev

Next, modify your local composer.json file:

{
    "require": {
        "yireo/magento1-webp": "dev-master",
        "magento-hackathon/magento-composer-installer": "*"
    },    
    "repositories":[
        {
            "packagist": false
        },
        {
            "type":"composer",
            "url":"https://packages.firegento.com"
        },
        {
            "type":"composer",
            "url":"https://satis.yireo.com"
        }
    ],
    "extra":{
        "magento-root-dir":"/path/to/magento",
        "magento-deploystrategy":"copy"           
    }
}

Make sure to set the magento-root-dir properly. Test this by running:

composer update --no-dev

Done.