定制 marellocommerce/marello-bridge-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marellocommerce/marello-bridge-api

Composer 安装命令:

composer require marellocommerce/marello-bridge-api

包简介

Marello Bridge API client library

README 文档

README

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:

curl -s https://getcomposer.org/installer | php
php composer.phar require "marellocommerce/marello-bridge-api"
  • Install dependencies with composer. If installation process seems too slow you can use --prefer-dist option.
php composer.phar install --prefer-dist --no-dev

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:

php composer.phar update

Or do a fresh install

php composer.phar install --prefer-dist
  • To run the tests you need to run the following command in the vendor/marellocommerce/marello-bridge-api directory
vendor/phpunit/phpunit/phpunit --testsuite="Marello Api Test Suite"

or if you have phpunit installed globally:

phpunit --testsuite="Marello Api Test Suite"

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!

marellocommerce/marello-bridge-api 适用场景与选型建议

marellocommerce/marello-bridge-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.71k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2016 年 10 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 marellocommerce/marello-bridge-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 marellocommerce/marello-bridge-api 我们能提供哪些服务?
定制开发 / 二次开发

基于 marellocommerce/marello-bridge-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 3.71k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2016-10-31