2017 © Pedro Peláez
 

symfony-bundle wooapubundle

A WooCommerce REST API bundle

image

ederribeiro/wooapubundle

A WooCommerce REST API bundle

  • Friday, October 2, 2015
  • by ederibeiro
  • Repository
  • 2 Watchers
  • 3 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

WooApu

A WooCommerce REST API bundle

Installation

Step 1: Download Bundle, (*1)

$ composer require ederribeiro/wooapubundle "~1.*"

Step 2: Enable the Bundle, (*2)

In the 'app/AppKernel.php' file, you will add this row:, (*3)

<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Woo\ApuBundle\WooApuBundle(),
        );
    }
}
?>

Step 2: Add to parameters.yml.dist, (*4)

woo_apu.consumer_key: <your key>
woo_apu.consumer_secret: <your secret>
woo_apu.shop: <your shop address>

Step 3: Update with composer, (*5)

$ composer update

When the key is requested, put the key from woocommerce panel., (*6)

Usage

Just get the client service from symfony container, (*7)

<?php
class MyTest
{
    public function __construct(ContainerInterface $container)
    {
        $client = $container->get("wooapu.client");
        // and do your magic
    }
}
?>

License

MIT License Eder Ribeiro, (*8)

The Versions

02/10 2015

dev-master

9999999-dev

A WooCommerce REST API bundle

  Sources   Download

MIT

The Requires

 

by Eder Ribeiro

woocommerce rest api bundle

02/10 2015

1.0.2

1.0.2.0

A WooCommerce REST API bundle

  Sources   Download

MIT

The Requires

 

by Eder Ribeiro

woocommerce rest api bundle

02/10 2015

1.0.1

1.0.1.0

A WooCommerce REST API bundle

  Sources   Download

MIT

The Requires

 

by Eder Ribeiro

woocommerce rest api bundle