Download the PHP package liveintent/sdk-php without Composer

On this page you can find all versions of the php package liveintent/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 sdk-php

LiveIntent SDK PHP

Test Latest Stable Version

The LiveIntent PHP SDK provides a convenient way to interact with the LiveIntent API in PHP applications.

This document describes how to develop the SDK itself. For usage documentation and examples see usage.

Getting started

First clone the repository. Then, run cp .env.example .env to create the env file.

Finally install the dependencies via:

Testing

To run the unit tests

Mocking

When testing you often want to mock external api calls, but you also want to be confident that those api calls will work in the real world.

To solve this, you may instruct the client to record the request/response pairs it makes. This allows you to run your tests against a live version of the api when necessary, and to reuse those same responses when mocking is acceptable for faster, more predictable and reliable tests.

Test in record mode

To run the tests against a live api connection and record the results run:

By default recordings will be saved in the file tests/__snapshots__/snapshot.

Test using recorded responses

To run the tests against a live api connection and record the results run:

Alternative methods of mocking

The LiveIntent client inherits from Laravel's Http Client. Therefore, all the methods available to that client are also be available.

For detailed documentation see here.

Linting

The installed linter will auto-format your code to comply with our agreed php coding standard.

To run the linter


All versions of sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1
guzzlehttp/guzzle Version ^7.3
illuminate/collections Version ^9.2
illuminate/contracts Version ^9.2
illuminate/http Version ^9.2
illuminate/support Version ^9.2
nesbot/carbon Version ^2.46
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 liveintent/sdk-php contains the following files

Loading the files please wait ....