PHPWebPConverter
1.0.0
Example of how to generate webp image file from jpg or png image file with PHP. In "single-conver.php" file there is example for how to convert single image. In "bulk-convert.php" file there is example for how to convert all files from "images" folder and save to webp format in "converted" folder.
To use imagecreatefromstring PHP function (which is used in this example project) You need GD library. This library is probably active on Your online server but it is disabled by default on XAMPP. To activate GD library for XAMPP with PHP 8 support follow steps below.