2017 © Pedro Peláez
 

symfony-bundle prestashopwebservice-bundle

Prestashop WebService bundle for Symfony 2

image

kkuetnet/prestashopwebservice-bundle

Prestashop WebService bundle for Symfony 2

  • Thursday, June 11, 2015
  • by anthonykgross
  • Repository
  • 2 Watchers
  • 5 Stars
  • 154 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

Getting Started

This bundle allow you to integrate easily Prestashop API into your symfony project., (*1)

Prerequisites

This version of the bundle requires Symfony 2.1+., (*2)

Installation

Installation is a quick 4 step process:, (*3)

  1. Download KkuetNetPrestashopWebServiceBundle using composer
  2. Enable the Bundle
  3. Configure the KkuetNetPrestashopWebServiceBundle
  4. How to use

Step 1: Download KkuetNetPrestashopWebServiceBundle using composer

Add KkuetNetPrestashopWebServiceBundle in your composer.json:, (*4)

{
    "require": {
        "kkuetnet/prestashopwebservice-bundle": "dev-master"
    }
}

Composer will install the bundle to your project's vendor/kkuetnet directory., (*5)

Step 2: Enable the bundle

Enable the bundle in the kernel:, (*6)

``` php <?php // app/AppKernel.php, (*7)

public function registerBundles() { $bundles = array( // ... new \KkuetNet\PrestashopWebServiceBundle\KkuetNetPrestashopWebServiceBundle(), ); }, (*8)


### Step 3: Configure the KkuetNetPrestashopWebServiceBundle [More information about Prestashop API](http://doc.prestashop.com/download/attachments/720902/CRUD%20Tutorial%20EN.pdf) ``` yaml # app/config/config.yml kkuet_net_prestashop_web_service: debug: false website: http://prestashop.kkuet.net/ key: R03J6M0Z87H9P2ZRHTTPE72MU6RU34AB

Step 4: How to use

``` php namespace Acme\DemoBundle\Controller;, (*9)

use Symfony\Bundle\FrameworkBundle\Controller\Controller;, (*10)

class WelcomeController extends Controller { public function indexAction() { $persta = $this->container->get('prestashop_webservice')->getInstance(); $result = $persta->get(array( "resource" => "products" )); #More information => http://doc.prestashop.com/download/attachments/720902/CRUD%20Tutorial%20EN.pdf var_dump($result); } } ```, (*11)

The Versions

11/06 2015

dev-master

9999999-dev

Prestashop WebService bundle for Symfony 2

  Sources   Download

commercial

The Requires

 

by Anthony GROSS

bundle prestashop webservice