serato / sup-sdk-php
A PHP SDK for sending user profile attributes and events to the Serato User Profile application.
Installs: 126 335
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 15
Forks: 13
Open Issues: 1
Requires
- php: ^7.1 || ^8.0
- aws/aws-sdk-php: ^3.0
- ramsey/uuid: ^3 || ^4
Requires (Dev)
- enlightn/security-checker: ^1.4 || ^2
- monolog/monolog: ^1.21.0
- phpstan/phpstan: ^1.4
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^7 || ^8
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-11-14 02:52:25 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