PHPackages                             biteral/biteral-sdk-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. biteral/biteral-sdk-php

ActiveLibrary[API Development](/categories/api)

biteral/biteral-sdk-php
=======================

Easily integrate Biteral AI tools into your e-commerce

v0.1.1(5mo ago)00MITPHPPHP &gt;=5.6.0

Since Jul 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/biteral-ai/biteral-sdk-php)[ Packagist](https://packagist.org/packages/biteral/biteral-sdk-php)[ RSS](/packages/biteral-biteral-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Biteral PHP SDK
===============

[](#biteral-php-sdk)

[![Packagist](https://camo.githubusercontent.com/4b8daa75b34f16bd9b598e1648891e55df7d126c8099f70f15e389b638652ca3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6269746572616c2f6269746572616c2d73646b2d7068702e737667)](https://packagist.org/packages/biteral/biteral-sdk-php)[![PHP Version](https://camo.githubusercontent.com/54260429e8de139f9acac0f2b664c6585d48b2cc693ad0cd160a2a3bbe9d26c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6269746572616c2f6269746572616c2d73646b2d7068702e737667)](https://packagist.org/packages/biteral/biteral-sdk-php)

Easily integrate [Biteral](https://biteral.ai) AI tools into your e-commerce platform.

- 🔎 Natural language product search
- 🧠 AI-powered product recommendations
- 🏷️ Customer tagging and segmentation
- 📊 Real-time trend recommendations

SDK usage guides and API documentation 👉

---

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

[](#requirements)

- PHP 5.6 or higher
- [Composer](https://getcomposer.org)
- Bash, for running examples

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

[](#installation)

```
composer require biteral/biteral-sdk-php
```

Usage
-----

[](#usage)

```
use Biteral\Client;

$client = new Client('your-biteral-api-key');

$productPayload =
    new ProductPayload([
        'code' => 'N30122',
        'title' => 'Urban Sports Sneakers for Men - AirFlow Model',
        'description' => 'These sneakers combine style and comfort for everyday use. Designed with breathable materials, non-slip rubber sole, and ergonomic insole, they are ideal for both walking around the city and light indoor training. The AirFlow model offers a perfect fit and a modern design that matches any casual look. Available in various sizes and colors.',
        'attributes' => [
            new ProductAttributePayload(['title' => 'Material', 'value' => 'Leather']),
            new ProductAttributePayload(['title' => 'Color', 'value' => 'black with grey accents']),
            new ProductAttributePayload(['title' => 'Available sizes', 'value' => '39, 40, 41, 42, 43, 44']),
            new ProductAttributePayload(['title' => 'Sole', 'value' => 'non-slip rubber']),
            new ProductAttributePayload(['title' => 'Weight', 'value' => '850g (pair, size 42)']),
            new ProductAttributePayload(['title' => 'Recommended use', 'value' => 'Daily wear and light training'])
        ],
        'brand' => new BrandPayload(['code' => 'OW142302', 'name' => 'Nike']),
        'category' => new ProductCategoryPayload([
            'code' => 'MC418292',
            'title' => 'Sports Sneakers',
            'description' => 'Footwear designed to provide comfort, support, and performance for physical or athletic activities. These sneakers are also suitable for urban and everyday use thanks to their modern designs and versatile materials. They feature non-slip soles, breathable fabrics, and styles that combine functionality with fashion.'
        ]),
        'price' => new PricePayload(['amount' => '49.95', 'currency' => 'EUR']),
        'imageUrl' => 'https://m.media-amazon.com/images/I/61cELGQXXhL._AC_UL320_.jpg',
        'url' => 'https://www.amazon.es/Hitmars-Zapatillas-Deportivas-Transpirables-Sneakers/dp/B0CYGMZVL7',
        'metadata' => [
            'videoUrl' => "https://m.media-amazon.com/videos/C/dk14lkKlsnw._AC_UL1080_.mp4",
            'currentDiscountRate' => '50%',
            'isNew' => true,
            'isFeatured' => false
        ]
    ]);

$client->products()->ingest($productPayload);
```

👉 [Get a free Biteral API key](https://biteral.ai) for testing your integration

Running examples
----------------

[](#running-examples)

There are usage example files in the `examples` directory you can use to learn how the SDK works through working examples.

You can run the examples using the provided `bin/example` script, like this:

```
bin/example
```

To get a list of available examples, run `bin/example` without any parameters.

You might need to set execution permissions for this script with `chmod +x bin/example`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance78

Regular maintenance activity

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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

Total

2

Last Release

173d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f294d015cc2d7760b96909e17d5c1b4f433f22f1d9134a27eb76117cc8b49ac?d=identicon)[tin-cat](/maintainers/tin-cat)

---

Top Contributors

[![tin-cat](https://avatars.githubusercontent.com/u/4244804?v=4)](https://github.com/tin-cat "tin-cat (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biteral-biteral-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/biteral-biteral-sdk-php/health.svg)](https://phpackages.com/packages/biteral-biteral-sdk-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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