Download the PHP package marellocommerce/marello-bridge-api without Composer
On this page you can find all versions of the php package marellocommerce/marello-bridge-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marellocommerce/marello-bridge-api
More information about marellocommerce/marello-bridge-api
Files in marellocommerce/marello-bridge-api
Package marello-bridge-api
Short Description Marello Bridge API client library
License OSL-3.0
Homepage https://github.com/marellocommerce/marello-bridge-api.git
Informations about the package marello-bridge-api
Marello Api Extension
Marello Api extension is a wrapper which enables the applications to communicate with an instance of Marello. This wrapper only provides authentication with X-WSSE headers and allows you to send or get data from a Marello Application instance.
The extension is based on the work Sylvain Rayé has done back in 2014, where he explains how to connect to an OroCRM/Akeneo instance with this method. The extension uses a lot of work done by Sylvain Rayé regarding the X-WSSe authentication but adds a Client into it to make the create and send the calls to an instance. The original post can found on Sylvain Rayé's blog. Oro's cookbook now includes an instruction on how to generate the X-WSSE in an Oro based platform
Features
- Pinging the Marello instance (\Marello\Api\Client::pingInstance());
- Getting data from Marello, including page/limit filter;
- Sending data to Marello with POST/PUT/DELETE requests
Future Features
- Disable denpendency from Marello Bridge on this wrapper for swapping out this wrapper for, for example GuzzleHttp
Requirements
- PHP 5.5.0 or above with command line interface
Installation instructions
In order to get the Bridge Api, you can easily install this through composer. If you don't have composer installed globally, you can get it by running the following command:
- Install dependencies with composer. If installation process seems too slow you can use
--prefer-dist
option.
Running Tests
In order to run the tests for the Marello Bridge API, you need to update the dependencies with composer by running the following command:
Or do a fresh install
- To run the tests you need to run the following command in the
vendor/marellocommerce/marello-bridge-api
directory
or if you have phpunit
installed globally:
Usage
for usage see docs/USAGE.md
Contact
Questions? Problems? Improvements?
Feel free to contact us either through http://www.marello.com/contact/, forum http://www.marello.com/forum/marello/ or open an issue in the repository :) Thanks!