PHPackages                             floweye/client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. floweye/client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

floweye/client
==============

Floweye PHP API client

v0.4.1(1y ago)36.7k↓54.3%[1 PRs](https://github.com/flowsource/floweye-client/pulls)MITPHPPHP &gt;=7.2CI passing

Since Jun 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/flowsource/floweye-client)[ Packagist](https://packagist.org/packages/floweye/client)[ Docs](https://github.com/flowsource/floweye-client)[ RSS](/packages/floweye-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (9)Versions (7)Used By (0)

Floweye PHP SDK
===============

[](#floweye-php-sdk)

PHP API client for [Floweye](https://floweye.app) - [REST API](https://api.floweye.app) - [Docs](https://docs.floweye.app)

 [![](https://camo.githubusercontent.com/ee1b0586cfcae3721a8808bb837aa1237da17862dcedc283a6ca6babd9afd52f/68747470733a2f2f62616467656e2e6e65742f6769746875622f7374617475732f666c6f77736f757263652f666c6f776579652d636c69656e742f)](https://github.com/flowsource/floweye-client/actions) [![](https://camo.githubusercontent.com/615939612ed225bdef8307caa29efb3fa1f97efbbeb6eaa126e79c7d5180485f/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f666c6f77736f757263652f666c6f776579652d636c69656e742f)](https://coveralls.io/r/flowsource/floweye-client) [![](https://camo.githubusercontent.com/db5c7f731fa21e70fcba27eec5c82f508719fd7c32af0182f8408f40f3af9187/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f646d2f666c6f776579652f636c69656e74)](https://packagist.org/packages/floweye/client) [![](https://camo.githubusercontent.com/cf04cc323d56177d53b3953603f2c87bbdb6b569784d7496cb9f182fb408face/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f666c6f776579652f636c69656e74)](https://packagist.org/packages/floweye/client)

---

Versions
--------

[](#versions)

StateVersionBranchNettePHPdev`^1.0.0``master``2.4`, `3.0``>=8.1`stable`^0.4.1``master``2.4`, `3.0``>=7.2`Instalation
-----------

[](#instalation)

Install package using Composer.

```
composer require floweye/client
```

How to use
----------

[](#how-to-use)

### High level

[](#high-level)

Simply inject desired services which allow you to work directly with processed data.

```
$userService = $context->getService(Floweye\Client\Service\UserService::class);
$user = $userService->getById(1, []);
```

### PSR-7 level

[](#psr-7-level)

In case you need to access PSR-7 response. You can work with our client layer.

```
$userClient = $context->getService(Floweye\Client\Client\UserClient::class);

/** @var Psr\Http\Message\ResponseInterface $response */
$response = $userClient->getById(1, []);
```

### Low level

[](#low-level)

This example showcases the manual service instantiation.

```
$guzzleFactory = $context->getService(Floweye\Client\Http\Guzzle\GuzzleFactory::class);
$httpClient = $guzzleFactory->create([
    'base_uri' => 'https://floweye.tld/api/v1/',
    'http_errors' => false,
    'headers' => [
        'X-Api-Token' => 'floweye-api-key',
    ]
]);

// You can now use $httpClient with our Clients, Services or on its own
$userClient = new Floweye\Client\Client\UserClient($httpClient);
$userService = new Floweye\Client\Service\UserService($userClient);
```

### Nette bridge

[](#nette-bridge)

```
extensions:
    # For Nette 3.0+
    floweye.api: Floweye\Client\DI\FloweyeExtension
    # For Nette 2.4
    floweye.api: Floweye\Client\DI\FloweyeExtension24

floweye.api:
    debug: %debugMode%
    http:
        base_uri: https://floweye.tld/api/v1/
        headers:
            X-Api-Token: floweye_api_key
```

Configure default http client [Guzzle HTTP client](https://guzzle.readthedocs.io/en/latest/quickstart.html) under `http` option.

API endpoints overview
----------------------

[](#api-endpoints-overview)

**ApplicationService**

MethodAPIexport($include)`GET /application/export`import($data)`POST /application/import`listGlobals($path)`GET /application/globals`editGlobals($globals)`PUT /application/globals`listSnippets($limit, $offset, $include)`GET /application/snippets`createSnippet($entity)`POST /application/snippets`editSnippet($id, $entity)`PUT /application/snippets/{id}`deleteSnippet($id)`DELETE /application/snippets/{id}`**UserService**

MethodAPIlist($filter)`GET /users`create($entity)`POST /users`getById($id, $include)`GET /users/{id}`edit($id, $entity)`PUT /users/{id}`oneTimeLogin($id)`PUT /users/{id}/one-time-login`passwordReset($id)`PUT /users/{id}/password-reset`newUserToken($id)`PUT /users/{id}/new-user/token`newUserMail($id)`PUT /users/{id}/new-user/mail`**UserGroupService**

MethodAPIlistUserGroups($include)`GET /user-groups`createOne($entity)`POST /user-groups`findOne($gid, $include)`GET /user-groups/{gid}`editOne($gid, $entity)`PUT /user-groups/{gid}`deleteOne($gid)`DELETE /user-groups/{gid}`appendUsers($gid, $userIds, $includeSystemUsers, $includeBlockedUsers)`PATCH /user-groups/{gid}/append-users`detachUsers($gid, $userIds)`PATCH /user-groups/{gid}/detach-users`

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance66

Regular maintenance activity

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.4% 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 ~399 days

Total

5

Last Release

617d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![vody105](https://avatars.githubusercontent.com/u/22433893?v=4)](https://github.com/vody105 "vody105 (43 commits)")[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (18 commits)")[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (1 commits)")

---

Tags

apibridgeclientconnectorfloweyeflowsourcehttpintegrationphpsdktransporthttpapisdkfloweye

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/floweye-client/health.svg)

```
[![Health](https://phpackages.com/badges/floweye-client/health.svg)](https://phpackages.com/packages/floweye-client)
```

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34216.9k2](/packages/onesignal-onesignal-php-api)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1194.4k](/packages/zenditplatform-zendit-php-sdk)

PHPackages © 2026

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