PHPackages                             mongroove/avetec-php - 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. mongroove/avetec-php

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

mongroove/avetec-php
====================

A client library for generating image URLs with Avetec.

05PHP

Since Oct 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mongroove/avetec-php)[ Packagist](https://packagist.org/packages/mongroove/avetec-php)[ RSS](/packages/mongroove-avetec-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

avetec-php
==========

[](#avetec-php)

A php client library for generating image URLs with avetec

[![PHP-Version](https://camo.githubusercontent.com/a80993836dc9c71c1f16ab46ef0d85d55984cc3b3be8b01cb224cb5f77e30862/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70687025323076657273696f6e2d382e322d626c7565)](#)[![Downloads](https://camo.githubusercontent.com/500e3b68ec881dc9cad731d57ff346d01398c2377172b59ea0e66c1efa9489a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6e67726f6f76652f6176657465632d706870)](https://packagist.org/packages/mongroove/avetec-php)[![License](https://camo.githubusercontent.com/826bb4366174826018132dc96431d992528e00abd9c93993fa8de0d5ec4ba34f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6f6e67726f6f76652f6176657465632d706870)](https://github.com/mongroove/avetec-php/blob/main/LICENSE)

---

- [Installation](#installation)
- [Usage](#usage)
- [Advanced functions](#advanced-functions)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require mongroove/avetec-php
```

Usage
-----

[](#usage)

To begin creating avetec URLs programmatically, add the php files to your project. The URL builder can be reused to create URLs for any images on the domains it is provided.

```
use Avetec\UrlBuilder;

$urlBuilder = new UrlBuilder("example.domain.com", 'your-secret-key');
$params = array("w" => 500, "h" => 500);

echo $urlBuilder->createURL("856c4490-784f-4a8e-a918-aa66c0398a9q", 'png', $params);

// 'https://example.domain.com/856c4490-784f-4a8e-a918-aa66c0398a9q.png?h=500&w=500'
```

Advanced functions
------------------

[](#advanced-functions)

### Base64 Params

[](#base64-params)

The parameters can be bundled and output with an encrypted base64 parameter, call `setUseBase64` on the builder.

```
$urlBuilder->setUseBase64(true);
echo $urlBuilder->createURL("856c4490-784f-4a8e-a918-aa66c0398a9q", 'png', $params);

// https://example.domain.com/v1/856c4490-784f-4a8e-a918-aa66c0398a9q.png?bc=eyJ3Ijo1MDAs...
```

### Add slug

[](#add-slug)

To pass a slug, an additional parameter can be inserted as follows.

```
echo $urlBuilder->createURL("856c4490-784f-4a8e-a918-aa66c0398a9q", 'png', $params, 'special');

// 'https://example.domain.com/special/856c4490-784f-4a8e-a918-aa66c0398a9q.png'
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d943d27b56ebbacdbf6607aa4975ee6a1168b78abaa61be914fd8a19bc0f7a4?d=identicon)[mongroove](/maintainers/mongroove)

---

Top Contributors

[![mongroove](https://avatars.githubusercontent.com/u/1797740?v=4)](https://github.com/mongroove "mongroove (11 commits)")

### Embed Badge

![Health badge](/badges/mongroove-avetec-php/health.svg)

```
[![Health](https://phpackages.com/badges/mongroove-avetec-php/health.svg)](https://phpackages.com/packages/mongroove-avetec-php)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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