serato/sup-sdk-php

There is no license information available for the latest version (v5.0.2) of this package.

A PHP SDK for sending user profile attributes and events to the Serato User Profile application.

v5.0.2 2024-11-14 02:50 UTC

README

A PHP library for sending user profile attributes and events to the Serato User Profile application.

Adding to a project via composer.json

To include this library in a PHP project add the following line to the project's composer.json file in the require section:

{
	"require": {
		"serato/sup-sdk-php": "dev-master"
	}
}

See Packagist for a list of all available versions.

Using Docker to develop this library.

# Run the `php` service using the default PHP version (8.1)
# By default this run `.docker/setup.sh` which will install composer
# and open a bash shell.
docker-compose run --rm  php

# Provide an alternative PHP version via the PHP_VERSION environment variable.
PHP_VERSION=7.1 docker-compose run --rm  php

Test and build steps in a running container with an interactive shell

$ php vendor/bin/phpcs
$ php vendor/bin/phpstan analyse
$ php vendor/bin/phpunit