linkorb/silex-provider-hubclient 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

linkorb/silex-provider-hubclient

Composer 安装命令:

composer require linkorb/silex-provider-hubclient

包简介

Provides a client for the Hub.

README 文档

README

Provides two services from perinatologie/hub-client-php:-

  • ApiClientFactory as a service named hub_client.factory which can create instances of the HubV3Client and HubV4Client
  • HubV3Client as a service named hub_client.service

Install

Install using composer:-

$ composer require linkorb/silex-provider-hubclient

Then configure and register the provider:-

// app/app.php
use LinkORB\HubClient\Provider\HubClientProvider;
...
$app->register(
    new HubClientProvider,
    ['hub_client.url' => getenv('HUB_CLIENT_URL'),
    // if you want to use the factory to create a HubV4Client then add the
    // url of the UserBase Json Web Token authentication endpoint
    'hub_client.userbase_url' = getenv('HUB_CLIENT_USERBASE_URL'),
    // add these parameters if you want to directly create the HubV3Client
    // with a fixed set of credentials
    'hub_client.username' = getenv('HUB_CLIENT_USERNAME'),
    'hub_client.password' = getenv('HUB_CLIENT_PASSWORD')]
);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固