PHPackages                             keboola/storage-api-php-client-branch-wrapper - 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. keboola/storage-api-php-client-branch-wrapper

ActiveLibrary

keboola/storage-api-php-client-branch-wrapper
=============================================

Wrapper for Storage API clients for Dev/Prod mode

6.7.0(1mo ago)078.0k↓52%MITPHPPHP &gt;=8.2

Since Nov 18Pushed 1mo ago15 watchersCompare

[ Source](https://github.com/keboola/storage-api-php-client-branch-wrapper)[ Packagist](https://packagist.org/packages/keboola/storage-api-php-client-branch-wrapper)[ RSS](/packages/keboola-storage-api-php-client-branch-wrapper/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (9)Versions (36)Used By (0)

Storage API PHP Client Branch Wrapper [![Build Status](https://camo.githubusercontent.com/627a9ff5953f499b2075e7e2bcc3fd8874c9bc9c17fe56bb0551d9b268c6394f/68747470733a2f2f6465762e617a7572652e636f6d2f6b65626f6f6c612d6465762f73746f726167652d6170692d7068702d636c69656e742d6272616e63682d777261707065722f5f617069732f6275696c642f7374617475732f6b65626f6f6c612e73746f726167652d6170692d7068702d636c69656e742d6272616e63682d777261707065723f6272616e63684e616d653d6d61696e)](https://dev.azure.com/keboola-dev/storage-api-php-client-branch-wrapper/_build/latest?definitionId=52&branchName=main)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#storage-api-php-client-branch-wrapper-)

This is a wrapper for encapsulating Client and BranchAwareClient of [Storage API PHP Client](https://github.com/keboola/storage-api-php-client).

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

[](#installation)

```
composer require keboola/storage-api-php-client-branch-wrapper

```

Usage
-----

[](#usage)

Create client instance and use it in wrapper instance:

```
$clientOptions = ClientOptions('http://xxx.com', '1234-XXXX', '123');
$clientWrapper = new ClientWrapper($clientOptions);
$branchClient = $clietnWrapper->getBranchClient();
```

Client options refer to the options of the [Storage API Client constructor](https://github.com/keboola/storage-api-php-client/blob/b4cef10b1018d5b4cac06c9d541e790930fa437a/src/Keboola/StorageApi/Client.php#L102). Except for the `runIdGenerator` option which defines a callback used to generate `runId` when none is provided in request (applicable for `StorageClientRequestFactory`).

Development
-----------

[](#development)

Create a test Keboola Connection project and set `TEST_STORAGE_API_URL` and `TEST_STORAGE_API_TOKEN` environment variables. Use the `.env.dist`file to create `.env` file.

Run tests with:

```
docker-compose run --rm dev

```

License
-------

[](#license)

MIT licensed, see [LICENSE](./LICENSE) file.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

30

Last Release

57d ago

Major Versions

1.1.0 → 2.0.02022-03-28

2.0.1 → 3.0.02022-06-06

3.5.1 → 4.0.02023-07-27

4.0.0 → 5.0.02023-08-04

5.3.0 → 6.0.02024-07-24

PHP version history (4 changes)0.0.1PHP &gt;=5.6

2.0.0PHP &gt;=7.4

3.4.0PHP &gt;=8.1

5.2.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/101dbf2551a0709ddab522f97669f13a2c4cc2d0a1e8d009f3af6ba80accb1a9?d=identicon)[Keboola](/maintainers/Keboola)

---

Top Contributors

[![odinuv](https://avatars.githubusercontent.com/u/4319320?v=4)](https://github.com/odinuv "odinuv (47 commits)")[![ErikZigo](https://avatars.githubusercontent.com/u/1726727?v=4)](https://github.com/ErikZigo "ErikZigo (19 commits)")[![pepamartinec](https://avatars.githubusercontent.com/u/271753?v=4)](https://github.com/pepamartinec "pepamartinec (18 commits)")[![MiroCillik](https://avatars.githubusercontent.com/u/1488015?v=4)](https://github.com/MiroCillik "MiroCillik (8 commits)")[![pivnicek](https://avatars.githubusercontent.com/u/569139?v=4)](https://github.com/pivnicek "pivnicek (4 commits)")[![ondrajodas](https://avatars.githubusercontent.com/u/12143866?v=4)](https://github.com/ondrajodas "ondrajodas (4 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (4 commits)")[![AdamVyborny](https://avatars.githubusercontent.com/u/27994036?v=4)](https://github.com/AdamVyborny "AdamVyborny (2 commits)")[![sykora-ji](https://avatars.githubusercontent.com/u/29491790?v=4)](https://github.com/sykora-ji "sykora-ji (1 commits)")[![ujovlado](https://avatars.githubusercontent.com/u/419849?v=4)](https://github.com/ujovlado "ujovlado (1 commits)")

---

Tags

clientbranchkeboolastorage api

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keboola-storage-api-php-client-branch-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/keboola-storage-api-php-client-branch-wrapper/health.svg)](https://phpackages.com/packages/keboola-storage-api-php-client-branch-wrapper)
```

###  Alternatives

[iivannov/branchio

Branch Metrics (Branch.io) HTTP API client

1681.7k](/packages/iivannov-branchio)

PHPackages © 2026

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