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 today

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

14

—

LowBetter than 1% of packages

Maintenance28

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://avatars.githubusercontent.com/u/1797740?v=4)[Timbo Jones](/maintainers/mongroove)[@mongroove](https://github.com/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

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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