Download the PHP package felixhaeberle/kirby3-webp without Composer

On this page you can find all versions of the php package felixhaeberle/kirby3-webp. 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 kirby3-webp

kirby3-webp

license issues-open tweet

Kirby 3 CMS plugin for converting JPG, JPEG and PNG into much smaller WEBP – speed up your website! 🚀🔥

... and get the Lighthouse statistic you are dreaming of! 😍

🥁 Installation

Composer

Git Submodule

Clone or download

  1. Clone or download this repository.
  2. Unzip / Move the folder to site/plugins.

1️⃣ Activate the plugin

Activate the plugin in the site/config/config.php file with kirby3-webp => true.

2️⃣ Getting started

After installing and activating the plugin, you need to serve webp files to the frontend with your server configuration.

Apache

Add the following to your .htaccess:

NGINX

For NGINX, use the following virtual host configuration:

⚙️ Options

You have multiple options when using kirby3-webp to configure it to your needs:

Option Type Default Description
kirby3-webp.quality Integer 90 See the Auto quality section.
kirby3-webp.maxQuality Integer 85 Only relevant for jpegs and when quality is set to "auto".
kirby3-webp.defaultQuality Integer 85
kirby3-webp.metadata Array "none" Valid values: "all", "none", "exif", "icc", "xmp". Note: Currently only cwebp supports all values.

gd will always remove all metadata. ewww, imagick and gmagick can either strip all, or keep all (they will keep all, unless metadata is set to none)
kirby3-webp.encoding Array "auto" See the Auto selecting between lossless/lossy encoding section.
kirby3-webp.skip Boolean false If true, conversion will be skipped (ie for skipping png conversion for some converters)

👏 Credit

🤩 How this plugin works

kirby3-webp

🤯 Good to know

Sometimes, if the pictures are really big (multiple MB's) the converting process takes naturally longer, but does complete for sure. The .webp gets generated, but not selected, because if the client can accept .webp, the .webp is sent to the client instead of the .png, .jpeg or .jpg. Therefore, you are in need of the Apache/nginx configuration.


All versions of kirby3-webp with dependencies

PHP Build Version
Package Version
Requires rosell-dk/webp-convert Version ^2.3
getkirby/composer-installer Version ^1.1
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 felixhaeberle/kirby3-webp contains the following files

Loading the files please wait ....