2017 © Pedro PelĂĄez
 

library domain-bestellsystem-api-client

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

image

webfoersterei/domain-bestellsystem-api-client

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  • Saturday, July 21, 2018
  • by Hecke29
  • Repository
  • 1 Watchers
  • 3 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 60 % Grown

The README.md

Build Status, (*1)

domain-bestellsystem API Client

A client to use the XML-SOAP-API of domain-bestellsystem.de, (*2)

Installation

You can include this library in your project by adding it to your composer dependencies:, (*3)

composer require webfoersterei/domain-bestellsystem-api-client

Requirements

  • PHP version >= 8.0
  • PHP ext-soap (SOAP-Extension)
  • composer - Dependency Manager for PHP (see https://getcomposer.org/)

Usage

Just use the factory to create your needed API-client and use it:, (*4)

require_once 'vendor/autoload.php';

$domainClient = ClientFactory::createDomainClient(API_URL, API_USER, API_PASSWORD);
$domainClient->check('webfoersterei.de')->isAvailable(); # false

Logging

You can inject your Monolog logger into all clients by telling the factory about it before using the factory:, (*5)

$myLogger = new \Monolog\Logger('testlogger');
$myLogger->pushHandler(new \Monolog\Handler\StreamHandler('domain-bestellsystem_info.log', \Psr\Log\LogLevel::INFO)); # will log INFO-messages to a file
ClientFactory::setLogger($myLogger);

// ... create clients

Debugging

There's a DebugClientFactory that sets the SOAP trace-flag and provides a default logger to STDOUT. You can use it alternatively to the ClientFactory to see the low level request and response bodies:, (*6)

$domainClient = DebugClientFactory::createDomainClient(API_URL, API_USER, API_PASSWORD);
$domainClient->check('webfoersterei.de')->isAvailable(); # will produce debug output on stdout

Contribute

Feel free to contribute to this project by reporting bugs and issues or by creating pull requests: https://github.com/webfoersterei/domain-bestellsystem-api-client, (*7)

Please notice that this is an open source project and you have to agree with the given LICENSE, (*8)

The Versions

21/07 2018

dev-develop

dev-develop

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

19/07 2018

dev-master

9999999-dev

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

19/07 2018

0.2.0-alpha1

0.2.0.0-alpha1

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

18/07 2018

0.1.0-alpha7

0.1.0.0-alpha7

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

18/07 2018

0.1.0-alpha6

0.1.0.0-alpha6

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

19/03 2018

0.1.0-alpha5

0.1.0.0-alpha5

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

19/03 2018

0.1.0-alpha4

0.1.0.0-alpha4

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

18/12 2017

0.1.0-alpha2

0.1.0.0-alpha2

A client to use the XML-SOAP-API of domain-bestellsystem.de (usable for domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster

28/11 2017

0.1.0-alpha1

0.1.0.0-alpha1

A client to use the XML-SOAP-API of domain-bestellsystem.de (used by domain-offensive)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Timo Förster