2017 © Pedro Peláez
 

library akeneo-api

Akeneo Api wrapper for PHP

image

every/akeneo-api

Akeneo Api wrapper for PHP

  • Wednesday, July 5, 2017
  • by lexcast
  • Repository
  • 2 Watchers
  • 1 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

Akeneo Api wrapper for PHP

Connect easily to the Akeneo Api., (*1)

Compatible with Akeneo ^1.7, (*2)

Install

You can install this library with composer:, (*3)

composer require every/akeneo-api

Usage

In orden to use any of the Akeneo endpoints, first you need to create a settings object with the akeneo host, username, password, client id and secret. You need to create the Auth and the Client, and pass the Client object to the endpoint object., (*4)

Below an example to get a product:, (*5)

<?php

require_once 'vendor/autoload.php';

use Every\Akeneo\Api;
use Every\Akeneo\Api\Endpoint;

$settings = new Api\Settings(
    'http://akeneohost.com', // Akeneo Host
    'myuser',                // User Username
    'mypass',                // User Password
    'myclientid',            // Client ID
    'mysecret'               // Secret
);
$auth = new Api\Auth($settings);
$client = new Api\Client($auth);
$product = new Endpoint\Product($client);

var_dump($product->get('product_sku'));

For more information about the Akeneo Api see its docs., (*6)

The Versions

05/07 2017

dev-master

9999999-dev

Akeneo Api wrapper for PHP

  Sources   Download

MIT

by Daniel Alejandro Cast

05/07 2017

1.1.0

1.1.0.0

Akeneo Api wrapper for PHP

  Sources   Download

MIT

by Daniel Alejandro Cast

09/06 2017

1.0.1

1.0.1.0

Akeneo Api wrapper for PHP

  Sources   Download

MIT

by Daniel Alejandro Cast

08/06 2017

1.0.0

1.0.0.0

Akeneo Api wrapper for PHP

  Sources   Download

MIT

by Daniel Alejandro Cast