stefna/skjalatilkynning-api-client 问题修复 & 功能扩展

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

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

stefna/skjalatilkynning-api-client

Composer 安装命令:

composer require stefna/skjalatilkynning-api-client

包简介

README 文档

README

Latest Version on Packagist Software License

Library to communicate with Island.is mailbox (Pósthólf)

Installation

composer require stefna/skjalatilkynning-api-client

Usage

Setup

Remember to install a PSR-7, PSR-17 and PSR-18

We recommend nyholm/psr7 and kriswallsmith/buzz to fill does interfaces. If does packages are installed the api-client will auto wire the clients and factories.

Setup for production use

$bearerToken = AuthSecurityValue::bearer('token');
$service = \SkjalatilkynningApiClient\Service::createWithSecurityValues($bearerToken);

Setup for testing use

$bearerToken = AuthSecurityValue::bearer('token');
$config = new SkjalatilkynningApiClient\ServerConfiguration($bearerToken);
$config->selectServer('Development');
$service = SkjalatilkynningApiClient\Service::create($config);

Setup with custom psr implementations

$bearerToken = AuthSecurityValue::bearer('token');
$service = new SkjalatilkynningApiClient\Service(
	new SkjalatilkynningApiClient\ServerConfiguration($bearerToken),
	new GuzzleHttp\Client(),
	new GuzzleHttp\Psr7\HttpFactory(),
);

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-30