wirecard/base-url-matcher

Library for syncing Base URL with WPP URL

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.0 2019-06-05 08:33 UTC

This package is auto-updated.

Last update: 2023-01-06 17:11:26 UTC


README

License PHP v5.6 PHP v7.0 PHP v7.1 PHP v7.2 PHP v7.3 Build status

General information

This is a library for syncing Base URL with WPP URL

Installation

The library can be installed using Composer.
If you have not installed Composer, you can follow the offical instructions.

Once composer is installed, run this in your terminal/command-line tool:

composer require wirecard/base-url-matcher

Usage

In your application load the vendor/autoload.php that Composer provides.
You can then initialize the BaseUrlMatcherService class like so:

use Wirecard\BaseUrlMatcher\BaseUrlMatcherService;
$wppUrl = BaseUrlMatcherService::getWppUrl('https://api.wirecard.com');

If you have any questions or need further assistance do not hesitate to contact our support teams.