PHPackages                             agencednd/oro-api-connector-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. agencednd/oro-api-connector-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

agencednd/oro-api-connector-bundle
==================================

Dn'D Oro Api Connector Bundle to extend OroCommerce API

1.0.1(8y ago)221OSL-3.0JavaScriptPHP &gt;=7.0

Since Jul 11Pushed 8y ago6 watchersCompare

[ Source](https://github.com/Agence-DnD/DndOroApiConnectorBundle)[ Packagist](https://packagist.org/packages/agencednd/oro-api-connector-bundle)[ Docs](http://dnd.fr)[ RSS](/packages/agencednd-oro-api-connector-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Agence Dn'D - Oro API connector
===============================

[](#agence-dnd---oro-api-connector)

Dn'D Oro Api Connector for Oro Commerce &gt;= 1.0

This connector between OroCommerce REST API and Alexa Amazon Echo Dot

Requirements
------------

[](#requirements)

DndOroApiConnectorBundleOroCommerce ,Community Editionv1.0.\*v1.\*Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ cd /my/orocommerce/installation/dir
$ curl -sS https://getcomposer.org/installer | php
```

Then, install DndOroApiConnectorBundle with composer:

```
composer require agencednd/oro-api-connector-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

The bundle is automatically enabled.

Step 3: ReGenerate the API doc
------------------------------

[](#step-3-regenerate-the-api-doc)

The bundle expose a controller as API, so you have to regenerate the API doc

```
php app/console oro:api:doc:cache:clear -e prod
```

Step 4: Copy the script folder into web folder
----------------------------------------------

[](#step-4-copy-the-script-folder-into-web-folder)

The Amazon Function needs to get a wsse header to be authenticated on the Oro's API. The WSSE header is generated from a script in your OroCommerce application. To access of this script, you need to copy the files from vendor/ to web/ with this command line.

```
cp -R vendor/agencednd/alexa-connector-bundle/Resources/public/scripts/ web/scripts
```

In web/scripts/generate-wsse-header.php, you have to put your API key : oroUrl/admin/user/profile/view generate key

Step 5: Protect the generate-wsse-header.php script
---------------------------------------------------

[](#step-5-protect-the-generate-wsse-headerphp-script)

- Modify the .htpasswd in ./web/scripts with [this](https://www.web2generators.com/apache-tools/htpasswd-generator)

```
# generate your user and password
'user:passwd'
```

- Modify the .htaccess with the good path to .htpasswd

From the "scripts" folder in console

```
echo $PWD
```

Copy the path prompted

Then modify the .htaccess AuthUserFile with the string pasted and .htaccess like /srv/www/orocommerce/web/scripts/.htpasswd

So, the OAuth2 is on the roadmap of the Oro team and will replace de WSSE.

Step 6: Create an AWS Lambda Function
-------------------------------------

[](#step-6-create-an-aws-lambda-function)

[Part 1](https://www.codementor.io/blondiebytes/how-to-create-a-voice-interface-for-an-alexa-skill-oxpjxrl76)[Part 2](https://medium.com/@blondiebytes/create-an-alexa-skill-part-2-ab83bf5f97f0)

In your intent model put the content of alexa/intents.json

In your AWS Lambda Function put the content of index.js

Step 7: Replace in AWS Function
-------------------------------

[](#step-7-replace-in-aws-function)

Line 23

```
var oroHost = 'example.com';

```

With your URL.

Line 28 :

```
    auth: 'user:passwd',

```

Replace user:passwd by your user password generated for .htpasswd

Let's Play
----------

[](#lets-play)

Roadmap
-------

[](#roadmap)

Index.js:

- TODO Wording rewrite website/shop to store
- TODO Refactoring : call token with getApiOption like in getAverageShoppingCart

API:

- Convert revenue in one currency
- Get new opportunities
- Replace WSSE by OAuth2 when it is available
- Push notifications of new orders

About us
--------

[](#about-us)

Founded by lovers of innovation and design, [Agence Dn'D](http://www.dnd.fr) assists companies for 11 years in the creation and development of customized digital (open source) solutions for web and E-commerce.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3230d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8a1de9d349fbc0e5bb7c12c8e906fce1549deaac0969b6d0a693923e8fc4c4a?d=identicon)[agencednd](/maintainers/agencednd)

---

Top Contributors

[![DnDDeployer](https://avatars.githubusercontent.com/u/7807116?v=4)](https://github.com/DnDDeployer "DnDDeployer (3 commits)")[![mgeoffray](https://avatars.githubusercontent.com/u/1154299?v=4)](https://github.com/mgeoffray "mgeoffray (1 commits)")[![mickaelandrieu](https://avatars.githubusercontent.com/u/1247388?v=4)](https://github.com/mickaelandrieu "mickaelandrieu (1 commits)")

---

Tags

apirestconnectorecommercee-commerceAlexaAmazon EchoOROdndOroCommerce

### Embed Badge

![Health badge](/badges/agencednd-oro-api-connector-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/agencednd-oro-api-connector-bundle/health.svg)](https://phpackages.com/packages/agencednd-oro-api-connector-bundle)
```

###  Alternatives

[jlevers/selling-partner-api

PHP client for Amazon's Selling Partner API

4295.2M1](/packages/jlevers-selling-partner-api)[pixelpeter/laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API

125103.4k](/packages/pixelpeter-laravel5-woocommerce-api-client)[bigcommerce/api

Enables PHP applications to communicate with the Bigcommerce API.

1501.1M8](/packages/bigcommerce-api)[highsidelabs/walmart-api

A PHP client for Walmart's Marketplace, 1P Supplier, and Content Provider APIs.

308.0k](/packages/highsidelabs-walmart-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
