2017 © Pedro Peláez
 

library ecom-implementation-php

A DataJoe E-commerce Implementation Package

image

datajoe/ecom-implementation-php

A DataJoe E-commerce Implementation Package

  • Thursday, December 21, 2017
  • by datajake
  • Repository
  • 0 Watchers
  • 0 Stars
  • 29 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

DataJoe

E-commerce Implementation for PHP

This is the PHP implementation for embedding DataJoe E-commerce onto your site. In order to use this tool, you will need both your e-commerce instance UUID and a DataJoe API token. Both can be requested from our support team via email or phone: support@datajoe.com :: 303-989-1300, (*1)

## Install

Via Composer:, (*2)

``` bash $ composer require datajoe/ecom-implementation-php, (*3)


**Via Download:** [Click here to download](https://bitbucket.org/datajoe/ecom-implementation-php/downloads/) and include in your project. ## Usage -------- Simplest integration utilizing a require statement: ```php require_once Vendor/Datajoe/src/Implementation.php; echo (new Datajoe\Ecom\Implementation(‘{ECOM_UUID}’, ‘{API_TOKEN}’)) ->getHtml();

Remote authentication using the autoloader:, (*4)

use DataJoe\Ecom\Implementation;
if($user->isLoggedIn()){
    echo (new Implementation('{ECOM_UUID}', '{API_TOKEN}'))
        ->withAuthentication($user->email, $user->firstName, $user->lastName, $user->djAuthArr)
        ->getHtml();
}else{
    echo (new Implementation(‘{ECOM_UUID}’, ‘{API_TOKEN}’))
        ->getHtml();
}

Overriding the default client base uri (used to create application navigation links):, (*5)

use DataJoe\Ecom\Implementation;
echo (new Implemenation('{ECOM_UUID}', '{API_TOKEN}'))  
    ->withUri('https://YourBaseUri/ecom/')
    ->getHtml();

The Versions

21/12 2017

dev-master

9999999-dev http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe

23/08 2017

1.0.5

1.0.5.0 http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe

18/08 2017

1.0.4

1.0.4.0 http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe

11/07 2017

1.0.3

1.0.3.0 http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe

20/04 2017

1.0.2

1.0.2.0 http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe

20/04 2017

1.0.0

1.0.0.0 http://www.datajoe.com/

A DataJoe E-commerce Implementation Package

  Sources   Download

proprietary

The Requires

  • php >=5.4

 

The Development Requires

by Jacob Fogg

ecommerce datajoe