PHPackages                             whallysson/to-webp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. whallysson/to-webp

ActiveLibrary[Image &amp; Media](/categories/media)

whallysson/to-webp
==================

Easy WebP conversion!

v1.0.3(6y ago)318MITPHPPHP &gt;=7.1

Since Mar 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/whallysson/to-webp)[ Packagist](https://packagist.org/packages/whallysson/to-webp)[ Docs](http://www.codeblog.com.br)[ RSS](/packages/whallysson-to-webp/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

to-webp
=======

[](#to-webp)

[![Maintainer](https://camo.githubusercontent.com/ba3200569409e72085b945f85a8f330b9cc2721bf789ab0d990b120d6b7998e0/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d407768616c6c7973736f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/whallysson)[![Source Code](https://camo.githubusercontent.com/05caac27dc9521e5be05450ec4d25dc2ece4c408331805d3cdabb433b19835c0/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d636f6465626c6f672f746f776562702d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/whallysson/to-webp)[![PHP from Packagist](https://camo.githubusercontent.com/c013ab761b182c3ad1396f029b2114e5baa0f25a9c6df9ed88ae1c8c1069368f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f6465626c6f672f746f2d776562702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codeblog/to-webp)[![Latest Version](https://camo.githubusercontent.com/fe18f7130d0b2f7fa1df5cf7587ea6041431512efb486f6fb18fd0b362c10a55/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7768616c6c7973736f6e2f746f2d776562702e7376673f7374796c653d666c61742d737175617265)](https://github.com/whallysson/to-webp/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/ac372a659f0bd374b8cf9a0e375d4bab0a80ce01571e66eb4f3cdaa558de52a7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f7768616c6c7973736f6e2f746f2d776562702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/whallysson/to-webp)[![Quality Score](https://camo.githubusercontent.com/afe7e635dd5cefb213fd13a583b657b8e8278daecf3ea93ec071dc9a93ba096d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7768616c6c7973736f6e2f746f2d776562702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/whallysson/to-webp)[![Total Downloads](https://camo.githubusercontent.com/70c43793405da9d5ca7fca60e8e9a3cec4a0ef1391a9e12475e70bfd1f964c3d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465626c6f672f746f2d776562702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codeblog/to-webp)

###### to-webp converts JPEG &amp; PNG files to WebP format. That is an image format developed by Google that promises to reduce the image file size by up to 39%.

[](#to-webp-converts-jpeg--png-files-to-webp-format-that-is-an-image-format-developed-by-google-that-promises-to-reduce-the-image-file-size-by-up-to-39)

to-webp faz a conversão de arquivos JPEG &amp; PNG para o formato WebP. Que é um formato de imagem desenvolvido pelo Google que promete reduzir o tamanho do arquivo de imagens em até 39%.

### Installation

[](#installation)

to-webp is available via Composer:

```
composer require whallysson/to-webp

```

### How to use

[](#how-to-use)

#### @to-webp

[](#to-webp-1)

```
