PHPackages                             godmodelabs/flora-client-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. [API Development](/categories/api)
4. /
5. godmodelabs/flora-client-php

ActiveLibrary[API Development](/categories/api)

godmodelabs/flora-client-php
============================

PHP client for Flora based APIs

0.14.0(8mo ago)34.5kMITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI failing

Since May 10Pushed 3mo ago11 watchersCompare

[ Source](https://github.com/godmodelabs/flora-client-php)[ Packagist](https://packagist.org/packages/godmodelabs/flora-client-php)[ RSS](/packages/godmodelabs-flora-client-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (3)Versions (18)Used By (0)

Flora PHP client
================

[](#flora-php-client)

[![](https://github.com/godmodelabs/flora-client-php/workflows/ci/badge.svg)](https://github.com/godmodelabs/flora-client-php/workflows/ci/badge.svg)

Easily access [Flora](https://github.com/godmodelabs/flora) based APIs.

```
$client = new \Flora\Client('http://api.example.com/');
$response = $client->execute([
    'resource'  => 'foo',
    'select'    => 'id,name'
]);
```

Raw responses
-------------

[](#raw-responses)

Return PSR-7 [response object](https://github.com/php-fig/http-message/blob/master/src/ResponseInterface.php) (e.g. to handle binary data).

```
$client = new \Flora\Client('http://api.example.com/');
$response = $client->executeRaw([
    'resource' => 'article',
    'id' => 1337,
    'action' => 'pdf',
]);
```

Asynchronous requests (using `guzzlehttp/promises`)
---------------------------------------------------

[](#asynchronous-requests-using-guzzlehttppromises)

```
use GuzzleHttp\Promise;

$client = new \Flora\Client('http://api.example.com/');
try {
    $fooPromise = $client->executeAsync([
        'resource' => 'foo',
        'select' => 'id,name'
    ]);
    $barPromise = $client->executeAsync([
        'resource' => 'bar',
        'select' => 'id,name'
    ]);

    [$fooResponse, $barResponse] = Promise\Utils::unwrap([$fooPromise, $barPromise]);
    // process responses...
} catch (Throwable $e) {
    echo $e->getMessage(), PHP_EOL;
}
```

Parallel requests
-----------------

[](#parallel-requests)

Simple interface for simultaneously executing multiple API requests. Basically hides complexity from example above.

```
$client = new \Flora\Client('http://api.example.com/');
try {
    [$fooResponse, $barResponse] = $client->executeParallel([
        ['resource' => 'foo', 'select' => 'id,name'],
        ['resource' => 'bar', 'select' => 'id,name']
    ]);
    // process responses...
} catch (Throwable $e) {
    echo $e->getMessage(), PHP_EOL;
}
```

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 99% 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 ~215 days

Recently: every ~341 days

Total

17

Last Release

252d ago

PHP version history (9 changes)0.6PHP &gt;=5.5.0

0.6.1PHP &gt;=5.6.0

0.9.0PHP &gt;=7.2

0.9.2PHP &gt;=7.3

0.9.4PHP &gt;=7.3 || ^8.0

0.10.0PHP ^7.3 || ~8.0.0 || ~8.1.0

0.11.0PHP ^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

0.13.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

0.14.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/238631?v=4)[Nico Kaiser](/maintainers/nicokaiser)[@nicokaiser](https://github.com/nicokaiser)

![](https://www.gravatar.com/avatar/2575b3d2c0e028e57895e6bfaa3ff51b67ee7f685bf5185602629e5c07419d15?d=identicon)[mbaumgartl](/maintainers/mbaumgartl)

![](https://www.gravatar.com/avatar/acc319b74f8db8f99a49e5e4b985623eecb4c5d4835a40f0fd3d1feb4fc25369?d=identicon)[not-implemented](/maintainers/not-implemented)

---

Top Contributors

[![mbaumgartl](https://avatars.githubusercontent.com/u/341853?v=4)](https://github.com/mbaumgartl "mbaumgartl (104 commits)")[![nicokaiser](https://avatars.githubusercontent.com/u/238631?v=4)](https://github.com/nicokaiser "nicokaiser (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/godmodelabs-flora-client-php/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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