PHPackages                             halilbelkir/img-webp-convert - 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. halilbelkir/img-webp-convert

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

halilbelkir/img-webp-convert
============================

Laravel'de çalışan HTML etiketi olan 'img' etiketinin oluşturulması ve jpg,png vs. resim formatlarının webp formatına dönüştüren bir kütüphanedir.

3.4(1mo ago)0114MITPHPPHP ^8.3

Since Sep 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/halilbelkir/webp-convert)[ Packagist](https://packagist.org/packages/halilbelkir/img-webp-convert)[ RSS](/packages/halilbelkir-img-webp-convert/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (48)Used By (0)

webp-convert
============

[](#webp-convert)

**Laravel'de çalışan HTML etiketi olan 'img' etiketinin oluşturulması ve jpg,png vs. resim formatlarının webp formatına dönüştüren bir kütüphanedir.**\*\*

Gerekli olan yüklemeler
-----------------------

[](#gerekli-olan-yüklemeler)

- Composer Yüklendi
- [Laravel Yükle](https://laravel.com/docs/installation)

Yükleme
-------

[](#yükleme)

```
composer require intervention/image
```

```
composer require halilbelkir/img-webp-convert
```

```
php artisan vendor:publish --provider="halilBelkir\WebConvert\WebpConvertServiceProvider" --force
```

Filesystems Düzenleme
---------------------

[](#filesystems-düzenleme)

config/filesystem içerisinde ki disks dizinin altına aşağıdaki array dizinini ekleyiniz.

```
'cache' => [
                'driver' => 'local',
                'root'   => public_path() . '/upload/cache',
                'url'    => '/upload/cache',
            ],
```

Config App Düzenleme
--------------------

[](#config-app-düzenleme)

app/Providers/AppServiceProvider içerisinde ki register fonksiyonun altına aşağıdaki tanımlamayı ekleyiniz.

```
$loader = AliasLoader::getInstance();
$loader->alias('WebpConvert', halilBelkir\WebConvert\ImageHelper::class);
$loader->alias('Image', Image::class);
```

Kullanımı
---------

[](#kullanımı)

**Eğer kendi sunucunuzda ise**

$resimYolu = 'assets/images/logo.png';

**Eğer farklı sunucuda ise**

$resimYolu = '';

```
  {!! WebpConvert::createTag($resimYolu,['width' =>[1440,768,500], 'height' => [500,400,400]],['alt' => 'alt','title' => 'title','class' => 'class adı'],'lazy load kullanılacak ise buraya sadece "lazy" yazmanız yeterlidir','resmin yeni adı',1 olursa başka domainden kendi dosyanıza indirir ) !!}

```

2. Kullanımı
------------

[](#2-kullanımı)

```
  {!! WebpConvert::getImage(resim yolu,width,height,resmin yeni adı,1 olursa başka domainden kendi dosyanıza indirir) !!}

```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance92

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~1 days

Total

47

Last Release

40d ago

Major Versions

1.2.30 → 2.02024-10-17

2.9 → 3.02026-03-27

PHP version history (4 changes)1.0PHP ^7.3|^8.0

1.1PHP ^7.3|^8.0|^9.0

2.1PHP ^8.2

3.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7bd1e381c0f8ecc249ae8f539571ec5ca5800bc26794ef581c98c5157f958ab?d=identicon)[halilbelkir](/maintainers/halilbelkir)

---

Top Contributors

[![halilbelkir](https://avatars.githubusercontent.com/u/49840398?v=4)](https://github.com/halilbelkir "halilbelkir (18 commits)")

### Embed Badge

![Health badge](/badges/halilbelkir-img-webp-convert/health.svg)

```
[![Health](https://phpackages.com/badges/halilbelkir-img-webp-convert/health.svg)](https://phpackages.com/packages/halilbelkir-img-webp-convert)
```

###  Alternatives

[creativeorange/gravatar

A Laravel Gravatar package for retrieving gravatar image URLs or checking the existance of an image.

5467.5M53](/packages/creativeorange-gravatar)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M101](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)[nikkanetiya/laravel-color-palette

Laravel Wrapper for `ksubileau/color-thief-php`. Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.

3312.6k](/packages/nikkanetiya-laravel-color-palette)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
