2017 © Pedro Peláez
 

library liveinform

Liveinform api

image

hector68/liveinform

Liveinform api

  • Thursday, April 20, 2017
  • by Hector68
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Liveinform

Библиотека для работы с сервисом http://www.liveinform.ru/, (*1)

Создание заказов

use Hector68\Liveinform\entities\Config;
use Hector68\Liveinform\entities\Order;
use Hector68\Liveinform\repository\CurlRepository;

/** Создаем конфиг */
$config = new Config(api_id, type, is_test);

/** Стандарный репозиторий через curl */
$repository = new CurlRepository($config);

/** Создаем оьъект заказа */
$order = new Order(
            '+79991234567',
            '4400331231684',
            '998',
            'test@test.ru',
            'Василий',
            'Пупкин',
            '999.25',
            'test, fsf',
            'Саратов',
            'Вознесенская',
            'Кальяны'
        );

/** Получаем id заказа в системе liveinform*/

$liveinformId = $this->repository->save($order);

The Versions

20/04 2017

0.0.2

0.0.2.0

Liveinform api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dmitriy Ronzhin

12/04 2017

dev-master

9999999-dev

Liveinform api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dmitriy Ronzhin

12/04 2017

0.0.1

0.0.1.0

Liveinform api

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dmitriy Ronzhin