PHPackages                             szeidler/fotoweb-php-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. [API Development](/categories/api)
4. /
5. szeidler/fotoweb-php-sdk

ActiveLibrary[API Development](/categories/api)

szeidler/fotoweb-php-sdk
========================

Fotoweb by fotoware.com PHP SDK

2.1.5(1y ago)035.4k↓16.7%2[1 issues](https://github.com/szeidler/fotoweb-php-sdk/issues)MITPHPPHP &gt;=7.4

Since Nov 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/szeidler/fotoweb-php-sdk)[ Packagist](https://packagist.org/packages/szeidler/fotoweb-php-sdk)[ Docs](https://github.com/szeidler/fotoweb-php-sdk)[ RSS](/packages/szeidler-fotoweb-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (15)Used By (0)

Fotoweb by fotoware.com PHP SDK
===============================

[](#fotoweb-by-fotowarecom-php-sdk)

[![Build Status](https://github.com/szeidler/fotoweb-php-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/szeidler/fotoweb-php-sdk/actions/workflows/ci.yml/badge.svg)

Fotoweb PHP SDK utilizes [guzzle-services](https://github.com/guzzle/guzzle-services) for an easy integration with [Fotoware's](https://www.fotoware.com/) FotoWeb RESTful API.

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

[](#requirements)

- PHP 7.4 or greater
- Composer
- Guzzle

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

[](#installation)

Add Fotoweb PHP SDK as a composer dependency.

`composer require szeidler/fotoweb-php-sdk:^2.0`

Usage
-----

[](#usage)

Returns the asset representation based on the resource url of the asset.

```
use Fotoweb\FotowebClient;

// Using the legacy API code method.

$client = new FotowebClient([
    'baseUrl'  => 'https://demo.fotoware.com',
    'authType' => 'token',
    'apiToken' => 'yourapi token',
]);

// Using oAuth2 with client credentials (Web API)

$client = new FotowebClient([
    'baseUrl'  => 'https://demo.fotoware.com',
    'authType' => 'oauth2',
    'grantType' => 'client_credentials',
    'clientId' => 'your client id',
    'clientSecret' => 'your client secret',
    'persistenceProvider' => new \kamermans\OAuth2\Persistence\NullTokenPersistence(),
]);

// Using oAuth2 with authorization_code (Web API)
$client = new FotowebClient([
    'baseUrl'  => 'https://demo.fotoware.com',
    'authType' => 'oauth2',
    'grantType' => 'authorization_code',
    'codeVerifier' => 'PKCE code verifier',
    'redirectUri' => 'your oauth2 redirect callback',
    'clientId' => 'your client id',
    'clientSecret' => 'your client secret',
    'persistenceProvider' => new \kamermans\OAuth2\Persistence\NullTokenPersistence(),
]);

$href = '/fotoweb/archives/5013-Demo%20assets/Artwork/Coffee%20from%20DAM/240x400.jpg.info';
$asset = $client->getAsset(['href' => $href]);
print $asset->offsetGet('filesize');
```

Testing
-------

[](#testing)

This SDK includes PHPUnit as a composer `require-dev`. Copy the `phpunit.xml.dist` to `phpunit.xml` and fill in with your API testing credentials.

Note: Currently the SDK does not use mocked responses, but does actual API calls.

`./vendor/bin/phpunit -c phpunit.xml`

Credits
-------

[](#credits)

Stephan Zeidler for [Ramsalt Lab AS](https://ramsalt.com)

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~297 days

Recently: every ~49 days

Total

9

Last Release

725d ago

Major Versions

v1.0.1 → 2.0.02022-05-13

PHP version history (3 changes)v1.0.0PHP &gt;=5.6

2.0.0PHP &gt;=7.1

2.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/05bccdb85281776b28deafc2900b52fc8e12fcb25c3fd27870a5c5158db8da89?d=identicon)[szeidler](/maintainers/szeidler)

---

Top Contributors

[![szeidler](https://avatars.githubusercontent.com/u/1475847?v=4)](https://github.com/szeidler "szeidler (51 commits)")[![eiriksm](https://avatars.githubusercontent.com/u/865153?v=4)](https://github.com/eiriksm "eiriksm (1 commits)")

---

Tags

DAMfotowebfotoware

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/szeidler-fotoweb-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/szeidler-fotoweb-php-sdk/health.svg)](https://phpackages.com/packages/szeidler-fotoweb-php-sdk)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[zfr/zfr-shopify

PHP library for interacting with the Shopify REST API

37198.8k](/packages/zfr-zfr-shopify)[iwechatpay/openapi

为 wechatpay/wechatpay 增加IDE提示的接口描述包。

406.7k](/packages/iwechatpay-openapi)[arbor-education/arbor-sdk-php

Arbor Education PHP SDK

116.8k](/packages/arbor-education-arbor-sdk-php)

PHPackages © 2026

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