insectaio / barqouq
There is no license information available for the latest version (v1.0.2) of this package.
Barqouq storefront gRPC client SDK
v1.0.2
2025-09-12 17:55 UTC
Requires
- google/protobuf: ^4.31
- grpc/grpc: ^1.57
- insectaio/common: ^1.0
This package is not auto-updated.
Last update: 2026-04-10 20:35:48 UTC
README
PHP SDK for interacting with the Barqouq storefront via gRPC. Built using protobuf definitions from buf.build/insecta/barqouq.
Latest version: v1.0.2
Installation
composer require insectaio/barqouq:^1.0
Requires
insectaio/commonv1.0.1+ as a dependency.
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
{
"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
- PHP 8.0+
- google/protobuf
^4.31 - grpc/grpc
^1.57
License
MIT