PHPackages                             boxalino/boxalino-client-qa-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. [Testing &amp; Quality](/categories/testing)
4. /
5. boxalino/boxalino-client-qa-php

ActiveLibrary[Testing &amp; Quality](/categories/testing)

boxalino/boxalino-client-qa-php
===============================

The Boxalino QA SDK provides a simple and efficient way of testing the Boxalino Search &amp; Recommendations services.

2.0(5y ago)011proprietaryPHPPHP &gt;=5.1.2CI failing

Since May 20Pushed 5y ago3 watchersCompare

[ Source](https://github.com/boxalino/boxalino-client-QA-php)[ Packagist](https://packagist.org/packages/boxalino/boxalino-client-qa-php)[ Docs](http://www.boxalino.com)[ RSS](/packages/boxalino-boxalino-client-qa-php/feed)WikiDiscussions master Synced 2mo ago

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

boxalino-client-QA-php
======================

[](#boxalino-client-qa-php)

Boxalino QA(tests, examples) for PHP client SDK

The repository is made of :

- examples :: code snippets on library integration
- sample\_data :: data used for the export feature
- phpunit/tests :: unit tests on the library

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

[](#installation)

Download the repo directly using `git clone git@github.com:boxalino/boxalino-client-QA-php.git`or add the repository as a dependency via composer.json: `"require": { "boxalino/boxalino-client-qa-php": "dev-master" }`

!! Make sure you have received your credentials (account, password, API key&amp;secret) from Boxalino to access your account (if you don't have them, please contact )

Data Indexing examples
----------------------

[](#data-indexing-examples)

provided in a good order to learn them step by step!

###### backend data basic:

[](#backend-data-basic)

In this example, we take a very simple CSV file with product data, generate the specifications, load them, publish them and push the data to Boxalino Data Intelligence.

###### backend data debug xml:

[](#backend-data-debug-xml)

In this example, we take a very simple CSV file with product data, generate the specifications and print them in xml format.

###### backend data categories:

[](#backend-data-categories)

In this example, we take a very simple CSV file with product and categories data (and the link between them), generate the specifications, load them, publish them and push the data to Boxalino Data Intelligence.

###### backend data split field values:

[](#backend-data-split-field-values)

In this example, we take a very simple CSV file with product data, generate the specifications of a field splitting it's values (field provided as coma separated values in one csv cell), load them, publish them and push the data to Boxalino Data Intelligence.

###### backend data resource:

[](#backend-data-resource)

In this example, we take a very simple CSV file with product data a reference data (and the link between them), generate the specifications, load them, publish them and push the data to Boxalino Data Intelligence.

###### backend data customers:

[](#backend-data-customers)

In this example, we take very simple CSV files with product data and customer data, generate the specifications, load them, publish them and push the data to Boxalino Data Intelligence.

###### backend data transactions:

[](#backend-data-transactions)

In this example, we take very simple CSV files with product data, customer data and transactions historical data generate the specifications, load them, publish them and push the data to Boxalino Data Intelligence.

Batch examples
--------------

[](#batch-examples)

The batch requests are a convenient way to access your customers profile index in order to retrieve recommendations and content as per your widget design.

###### frontend batch:

[](#frontend-batch)

In this example, we make a simple batch request to access newsletter recommended products for 3 account IDs.

Search examples
---------------

[](#search-examples)

provided in a good order to learn them step by step!

###### frontend search basic:

[](#frontend-search-basic)

In this example, we make a simple search query, get the search results and print their ids including a total counter.

###### frontend search return fields:

[](#frontend-search-return-fields)

In this example, we make a simple search query, defined additional fields to be returned for each reserult, get the search results and print their field values.

###### frontend search 2nd page:

[](#frontend-search-2nd-page)

In this example, we make a simple search query, get the second page of search results and print their ids.

###### frontend search sort field:

[](#frontend-search-sort-field)

In this example, we make a simple search query with a special sort order and get the first search results according to this order.

###### frontend search facet:

[](#frontend-search-facet)

In this example, we make a simple search query, request a facet and get the search results and print the facet values and counter.

###### frontend search facet category:

[](#frontend-search-facet-category)

In this example, we make a simple search query, request a facet and get the search results and print the facet values and counter of categories.

###### frontend search facet price:

[](#frontend-search-facet-price)

In this example, we make a simple search query, request a facet and get the search results and print the facet values and counter for price ranges.

###### frontend search corrected:

[](#frontend-search-corrected)

In this example, we make a simple search query with a typo, get the search results and print the corrected query and the search results ids.

###### frontend search sub phrases:

[](#frontend-search-sub-phrases)

In this example, we make a simple search query containing two keywords which both provides search results alone, but none together. Then we show the two sub-phrases groups to let the user chose to search for one or the other.

###### frontend search filter:

[](#frontend-search-filter)

In this example, we make a simple search query, add a filter and get the search results and print their ids.

###### frontend search filter advanced:

[](#frontend-search-filter-advanced)

In this example, we make a simple search query, add a more advanced filters with 2 fields with values and an or conditions between them and get the search results and print their ids.

###### frontend search debug request:

[](#frontend-search-debug-request)

In this example, we make a simple search query and we print the request object. This is very helpful to understand what could be the cause of a problem. Please always include the printout of this object in your support request to Boxalino.

Search autocomplete examples
----------------------------

[](#search-autocomplete-examples)

provided in a good order to learn them step by step!

###### frontend search autocomplete basic:

[](#frontend-search-autocomplete-basic)

In this example, we make a simple search autocomplete query, get the textual search suggestions.

###### frontend search autocomplete items:

[](#frontend-search-autocomplete-items)

In this example, we make a simple search autocomplete query, get the textual search suggestions and the item suggestions for each textual suggestion and globally.

###### frontend search autocomplete items bundled:

[](#frontend-search-autocomplete-items-bundled)

In this example, we make several search autocomplete queries, and for each get the textual search suggestions and the item suggestions for each textual suggestion and globally.

###### frontend search autocomplete property:

[](#frontend-search-autocomplete-property)

In this example, we show how to get autocomplete response on a property (to see what property value start with the query as prefix and how many search result they return if searched)

Recommendations examples
------------------------

[](#recommendations-examples)

provided in a good order to learn them step by step!

###### frontend recommendations similar:

[](#frontend-recommendations-similar)

In this example, we make a simple recommendation example to display similar recommendations on a product detail page.

###### frontend recommendations similar complementary:

[](#frontend-recommendations-similar-complementary)

In this example, we make a simple recommendation example to display both similar and complementary recommendations on a product detail page

###### frontend recommendations basket:

[](#frontend-recommendations-basket)

In this example, we make a simple recommendation example to display cross selling recommendations on a basket page.

Contact us!
-----------

[](#contact-us)

If you have any question, just contact us at

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

2

Last Release

1872d ago

Major Versions

v1.0.0 → 2.02021-03-24

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

qaPHP Unitboxalino

### Embed Badge

![Health badge](/badges/boxalino-boxalino-client-qa-php/health.svg)

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

###  Alternatives

[phpmetrics/phpmetrics

Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !

2.6k14.5M296](/packages/phpmetrics-phpmetrics)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[edgedesign/phpqa

Analyze PHP code with one command.

5641.0M24](/packages/edgedesign-phpqa)

PHPackages © 2026

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