PHPackages                             vysokeskoly/image-api-sdk - 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. vysokeskoly/image-api-sdk

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

vysokeskoly/image-api-sdk
=========================

SDK for Image Api

3.3.0(1y ago)015.7k↑492.3%MITPHPPHP ^8.1CI failing

Since Aug 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vysokeskoly/image-api-sdk)[ Packagist](https://packagist.org/packages/vysokeskoly/image-api-sdk)[ RSS](/packages/vysokeskoly-image-api-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (18)Versions (12)Used By (0)

VysokeSkoly / ImageApiSdk
=========================

[](#vysokeskoly--imageapisdk)

[![Latest Stable Version](https://camo.githubusercontent.com/9bf8f63fdaf6ca2f69d94d19b4ab339f03e57248118ba16637fcc7d976338aea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7679736f6b65736b6f6c792f696d6167652d6170692d73646b2e737667)](https://packagist.org/packages/vysokeskoly/image-api-sdk)[![License](https://camo.githubusercontent.com/dc8fbee7d5b30c513bf4af373e54ed0398817687a12594a7e0de5de0c0f6e65e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7679736f6b65736b6f6c792f696d6167652d6170692d73646b2e737667)](https://packagist.org/packages/vysokeskoly/image-api-sdk)[![Checks](https://github.com/vysokeskoly/image-api-sdk/actions/workflows/checks.yaml/badge.svg)](https://github.com/vysokeskoly/image-api-sdk/actions/workflows/checks.yaml)[![Build](https://github.com/vysokeskoly/image-api-sdk/actions/workflows/php-checks.yaml/badge.svg)](https://github.com/vysokeskoly/image-api-sdk/actions/workflows/php-checks.yaml)[![Coverage Status](https://camo.githubusercontent.com/6c75c45ca740a2d03a7ad158231e9dff8c09916b0a3d20d39c3dac78ca377fa3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7679736f6b65736b6f6c792f696d6167652d6170692d73646b2f62616467652e737667)](https://coveralls.io/github/vysokeskoly/image-api-sdk)

> Sdk for [ImageApi](https://github.com/vysokeskoly/image-api)

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

[](#installation)

```
{
    "vysokeskoly/image-api-sdk": "^3.0"
}
```

Requirements
------------

[](#requirements)

- `PHP 8.1`
- Corresponding version of [ImageApi](https://github.com/vysokeskoly/image-api)

Usage
-----

[](#usage)

### In Symfony application

[](#in-symfony-application)

```
services:
    _defaults:
        autowire: true      # Automatically injects dependencies in your services.
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.

    VysokeSkoly\ImageApi\Sdk\ImageUploaderInterface: '@VysokeSkoly\ImageApi\Sdk\ImageApiUploader'

    VysokeSkoly\ImageApi\Sdk\Service\ApiProvider:
        $apiUrl: '%image_api_url%'
        $apiKey: '%image_api_key%'
        $namespace: '%image_api_namespace%'

    VysokeSkoly\ImageApi\Sdk\Service\CommandQueryFactory: ~

    VysokeSkoly\ImageApi\Sdk\ImageApiUploader:
        arguments:
            $allowedMimeTypes:
                GIF: 'image/gif'
                JPEG: 'image/jpeg'
                PNG: 'image/png'
            $imageMaxFileSize: 8536064 # 8 * 1024 * 124 = 8 MB
            $imageMaxSize: 2048
        calls:
            - [ enableCache ]

    # optional
    VysokeSkoly\ImageApi\Sdk\Service\SavedImageDecoder:
        arguments:
            $imageBaseUrl: '%image_api_url%'
        tags:
            - { name: lmc_cqrs.response_decoder, priority: 55 }
```

NOTE: If you need size information about just Saved images, you need to enable Image Cache for a decoder.

```
\VysokeSkoly\ImageApi\Sdk\Service\ImagesCache::enable();
```

or in services declaration

```
    VysokeSkoly\ImageApi\Sdk\ImageApiUploader:
        ...
        calls:
            - [ enableCache ]
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity78

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 ~260 days

Recently: every ~204 days

Total

11

Last Release

624d ago

Major Versions

1.5.0 → 2.0.02022-07-25

2.0.0 → 3.0.02022-07-25

PHP version history (4 changes)1.0.0PHP &gt;=7.1

1.5.0PHP ^7.1

2.0.0PHP ^7.4

3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bdf0b9957c08a48e70a52fce74fc4f1add30b12d442450d5e2b48854fc98b21?d=identicon)[MortalFlesh](/maintainers/MortalFlesh)

---

Top Contributors

[![MortalFlesh](https://avatars.githubusercontent.com/u/6317184?v=4)](https://github.com/MortalFlesh "MortalFlesh (58 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vysokeskoly-image-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/vysokeskoly-image-api-sdk/health.svg)](https://phpackages.com/packages/vysokeskoly-image-api-sdk)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k28.0M318](/packages/openai-php-client)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k40.0M246](/packages/liip-imagine-bundle)[mailgun/mailgun-php

The Mailgun SDK provides methods for all API functions.

1.1k30.8M182](/packages/mailgun-mailgun-php)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M114](/packages/deeplcom-deepl-php)[neos/media

The Media package

101.2M53](/packages/neos-media)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)

PHPackages © 2026

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