Download the PHP package boxalino/boxalino-client-sdk-php without Composer

On this page you can find all versions of the php package boxalino/boxalino-client-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package boxalino-client-sdk-php

boxalino Client SDK in PHP

The Boxalino Client SDK provides a simple and efficient usage of Boxalino Search & Recommendations services (based on the p13n Thrift client libraries as separately provided in respective git-hub repositories) and to Boxalino Data Intelligence especially for Data Synchronization (define the structure of your data, push and publish your data structure configuration, push data in dev/prod and full/delta to Boxalino).

The Boxalino Client SDK are particularly interesting for integrators of Boxalino technologies and provides the following advantages compare to using the underlying API directly.

Key advantages

  1. Very easy examples (such as frontend search basic) to start from (step by step)
  2. Many examples to understand each functionality individually
  3. Very little amount of code to write and to maintain (all the hard stuff is done in the client)
  4. Very well adapted for most MVC environment where the full requests / responses are not created all at the same place (easy to do if keeping the instance of BxClient as static)
  5. Many embedded logics not to worry about anymore (e.g.: search corrections directly active and integrated, no need to worry about it, a simple method returns if the query was corrected or not as indication)
  6. No need to create your XML data specification file by yourself anymore (provide the links to your data CSV and simple indications of which csv columsn to put in which fields)
  7. Easy to test data correctness automatically before sending your data to Boxalino Data Intelligence (client can check if there is any mis-match with your column to field specfications)
  8. Easy to interact with all the APIs (all calls are embedded in the client and you simply need to call simple to use methods of the client instance)
  9. Very easy to understand error messages and to know what to do (error messages often even indicates where it is most likely you should solve the problem, like in the case of issues with SSL certificates to get the connection)
  10. Easy to print the request Thrift object and send it to Boxalino for any support request

Installation

  1. Before you start to test, make sure you download all the dependencies via composer (first download and install it form getcomposer.org, then run composer install in your project directory).
  2. Copy the lib folder (with the Thrift library) wherever you want (it doesn't need to be called "lib")
  3. Take any of the examples in the "examples" folder to test (if $libPath as per the examples is set to the path to your lib folder, the rest should work out of the box)
  4. Make sure you have received your credentials (account and password) from Boxalino to access your account (if you don't have them, please contact [email protected])

Examples

For sample examples on how to integrate the PHP SDK (from data exports to recommendations, search, autocomplete and others), please check out the QA repo

https://github.com/boxalino/boxalino-client-QA-php

Contact us!

If you have any question, just contact us at [email protected]


All versions of boxalino-client-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.1.2
apache/thrift Version 0.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package boxalino/boxalino-client-sdk-php contains the following files

Loading the files please wait ...