承接 hampel/synergy-wholesale-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

hampel/synergy-wholesale-laravel

Composer 安装命令:

composer require hampel/synergy-wholesale-laravel

包简介

Synergy Wholesale API wrapper using SoapClient and packaged as a Laravel service provider

README 文档

README

Latest Version on Packagist Total Downloads Open Issues License

Synergy Wholesale API wrapper using SoapClient and packaged as a Laravel service provider

By Simon Hampel

This package provides a simple Laravel service provider and facade for our base Synergy Wholesale API wrapper package hampel/synergy-wholesale - please refer to the documentation about that package for instructions on how to use this API wrapper

Installation

To install using composer, run the following command:

composer require hampel/synergy-wholesale-laravel

You must generate an API key using the Synergy Wholesale control panel, which involves adding your web server's IP address to the whitelist - and then specify that key and your reseller ID in your .env file:

SYNERGY_WHOLESALE_API_KEY=your_synergy_wholesale_api_key
SYNERGY_WHOLESALE_RESELLER_ID=your_synergy_wholesale_reseller_id

Upgrading

Upgrading to v1.6 (Laravel v5.8)

In line with changes made in Laravel v5.8, cache expiry times are now specified in seconds rather than minutes. Be sure to adjust the value of all cache entries in the configsynergy-wholesale.cache.*.expiry to suit, if you have over-ridden the defaults.

Usage

Use Laravel's App facade to gain access to the service provider in your code:

use SynergyWholesale\Commands\CheckDomainCommand;

$sw = App::make('SynergyWholesale\SynergyWholesale');
$available = $sw->execute(new CheckDomainCommand(new Domain('example.com')));

... or chain them:

$available = App::make('SynergyWholesale\SynergyWholesale')->execute(new CheckDomainCommand(new Domain('example.com')));

... or just use the Facade instead:

$available = SynergyWholesale::execute(new CheckDomainCommand(new Domain('example.com')));

Refer to the usage examples and code in the Synergy Wholesale API Wrapper repository for more details about how to use the library.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固