PHPackages                             insectaio/barqouq - 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. insectaio/barqouq

ActiveLibrary[API Development](/categories/api)

insectaio/barqouq
=================

Barqouq storefront gRPC client SDK

v1.0.2(7mo ago)065PHP

Since Jul 26Pushed 3mo agoCompare

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

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

insectaio/barqouq
=================

[](#insectaiobarqouq)

[![Latest Version](https://camo.githubusercontent.com/60f8c2864ca875c90ed264aee1866f5e6beca92f31293330615d610e937b5967/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e7365637461696f2f626172716f75712e737667)](https://packagist.org/packages/insectaio/barqouq)[![Total Downloads](https://camo.githubusercontent.com/6c26e3e4bd1a7a21cf3c7b934e0024d58d0bf26ec93f3ee88ffd01d40cea786e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e7365637461696f2f626172716f75712e737667)](https://packagist.org/packages/insectaio/barqouq)

PHP SDK for interacting with the Barqouq storefront via gRPC. Built using protobuf definitions from [buf.build/insecta/barqouq](https://buf.build/insecta/barqouq).

**Latest version: v1.0.2**

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

[](#installation)

```
composer require insectaio/barqouq:^1.0
```

> Requires [`insectaio/common`](https://packagist.org/packages/insectaio/common) v1.0.1+ as a dependency.

Usage
-----

[](#usage)

```
use Barqouq\Shopfront\Product\ProductServiceClient;
use Barqouq\Shopfront\Product\SearchRequest;
use Grpc\ChannelCredentials;

$client = new ProductServiceClient(
    'api.barqouq.shop:443',
    ['credentials' => ChannelCredentials::createSsl()]
);

$request = new SearchRequest();
$request->setClientKey('your-client-key');
$request->setSubdomain('demo');

[$response, $status] = $client->Search($request)->wait();
```

Protobuf Autoload
-----------------

[](#protobuf-autoload)

```
{
  "autoload": {
    "psr-4": {
      "Barqouq\\Shopfront\\Product\\": "generated/barqouq_php/Barqouq/Shopfront/Product/",
      "Barqouq\\Shared\\": "generated/barqouq_php/Barqouq/Shared/",
      "GPBMetadata\\": [
        "generated/barqouq_php/GPBMetadata/",
        "generated/common_php/GPBMetadata/"
      ]
    }
  }
}
```

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

[](#requirements)

- PHP 8.0+
- [google/protobuf](https://github.com/protocolbuffers/protobuf) `^4.31`
- [grpc/grpc](https://github.com/grpc/grpc) `^1.57`

---

### License

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance72

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

3

Last Release

239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e07aaf433dd253125258863b855c66d34db470f5e81cb53d4990f28e6de5ae1f?d=identicon)[RamiHegazi](/maintainers/RamiHegazi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/insectaio-barqouq/health.svg)

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

###  Alternatives

[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)[google/grpc-gcp

gRPC GCP library for channel management

18497.8M3](/packages/google-grpc-gcp)[googleads/google-ads-php

Google Ads API client for PHP

3497.6M9](/packages/googleads-google-ads-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[google/common-protos

Google API Common Protos for PHP

173103.7M49](/packages/google-common-protos)[spiral/grpc-client

gRPC client

41140.3k2](/packages/spiral-grpc-client)

PHPackages © 2026

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