WebP-Convert is a PHP library for converting images to WebP format efficiently and effectively, providing significant SEO benefits.
Current Version: 2.9.3
Last Updated: 2024-04-06
PHP Requirement: ^5.6 | ^7.0 | ^8.0
Dependencies: None
Package Description
WebP-Convert is a powerful PHP library designed to optimize images for web usage, particularly for SEO purposes. By converting images to WebP format, it significantly improves website loading speed and performance. The library offers a range of features and configurations for seamless integration into your projects, ensuring your web content remains optimized and attractive across various platforms and devices.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/rosell-dk/webp-convert/2.9.3/loader.php';
require_once 'libs/ext-gd/{lib_version}/loader.php';
require_once 'libs/ext-imagick/{lib_version}/loader.php';
use WebPConvert\Convert\Converters\Cwebp;
use WebPConvert\Convert\Converters\Imagick;
use WebPConvert\Convert\Converters\Gd;
$obj = new Cwebp();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.