gmsarates / php-webp-converter
There is no license information available for the latest version (dev-main) of this package.
This is a PHP CLI tool to convert all files in a specific folder to webp format
dev-main
2024-07-11 19:55 UTC
Requires
- php: >=8.2
This package is auto-updated.
Last update: 2024-09-11 20:21:22 UTC
README
[PT] Esta é uma ferramenta CLI PHP para converter todos os arquivos em uma pasta específica para o formato webp
[EN] This is a PHP CLI tool to convert all files in a specific folder to webp format
Install
Using composer:
composer require gmsarates/php-webp-converter
Usage
cd php-webp-converter/
php webp.php
Optional parameters
Example:
php webp.php --path=/var/www/html/project/images -Y -D
Warning: The --delete
(or -D
) parameter is dangerous! It will delete the original files. Use with caution.