sizeid/helpers

SizeID helpers

1.2.0 2017-08-17 14:17 UTC

This package is not auto-updated.

Last update: 2024-04-11 02:52:36 UTC


README

Build Status Coverage Status

Package for SizeID Advisor integration into e-shop platforms.

SizeID Advisor Demo

Features

  • verify client credentials
  • get and format active size charts
  • get and format available button styles
  • get available languages
  • render SizeID Button code
  • render SizeID Connect code

Installation into existing project

  1. Get the code
composer require sizeid/helpers
  1. Get clientId and clientSecret from your SizeID for Business account. Free tariff available.
  2. Start using helpers see examples/example.php

Examples

  1. Get the code
composer create-project sizeid/helpers
  1. Get clientId and clientSecret from your SizeID for Business account. Free tariff available.
  2. Navigate to examples directory, copy config.example.php to config.php, change constants CLIENT_ID and CLIENT_SECRET, run example file with webserver.