PHPackages                             vtcpay/soap-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vtcpay/soap-client

ActiveLibrary[API Development](/categories/api)

vtcpay/soap-client
==================

A PHP client for the Vtcpay SOAP API

v1.0.0(10y ago)01.2k1[1 issues](https://github.com/vtcpay/soap-client/issues)MITPHP

Since Dec 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vtcpay/soap-client)[ Packagist](https://packagist.org/packages/vtcpay/soap-client)[ RSS](/packages/vtcpay-soap-client/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

PHP SOAP CLIENT
===============

[](#php-soap-client)

A PHP client for the VtcPay SOAP API
====================================

[](#a-php-client-for-the-vtcpay-soap-api)

Introduction
------------

[](#introduction)

### Features

[](#features)

This library's features include the following.

- Added an EventDispatcher to your Soap client. It will trigger events at all important phases of the SOAP call
- Easily extensible through events: add custom logging, caching, error handling etc
- Completely tested

Installation
------------

[](#installation)

This library is available on [Packagist](http://packagist.org/packages/vtcpay/soap-client). The recommended way to install this library is through [Composer](http://getcomposer.org):

```
$ php composer.phar require vtcpay/soap-client dev-master
```

Usage
-----

[](#usage)

### The client

[](#the-client)

First construct a client using the builder:

```
$builder = new \Vtcpay\SoapClient\ClientBuilder(
  '/path/to/your/vtcpay/wsdl/sandbox.enterprise.wsdl.xml'
);

$client = $builder->build();
```

### Logging

[](#logging)

To enable logging for the client, call `withLog()` on the builder. For instance when using [Monolog](https://github.com/Seldaek/monolog):

```
$log = new \Monolog\Logger('vtcpay');
$log->pushHandler(new \Monolog\Handler\StreamHandler('/path/to/your.log'));

$builder = new \Vtcpay\SoapClient\ClientBuilder(
  '/path/to/your/vtcpay/wsdl/sandbox.enterprise.wsdl.xml'
);
$client = $builder->withLog($log)
  ->build();
```

All requests to the VnPay API, as well as the responses and any errors that it returns, will now be logged.

### Completely tested

[](#completely-tested)

- [tests/index.php](https://github.com/vtcpay/soap-client/blob/master/tests/index.php)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4636bdcaa20fe8d4863fed9e077accfc51cd58edc8ce0dea0700eed917c649ab?d=identicon)[hoangthienan](/maintainers/hoangthienan)

---

Top Contributors

[![hoangthienan](https://avatars.githubusercontent.com/u/92070?v=4)](https://github.com/hoangthienan "hoangthienan (7 commits)")

---

Tags

php-clientsoap-clientvtcpaysoapweb servicesvtcpay

### Embed Badge

![Health badge](/badges/vtcpay-soap-client/health.svg)

```
[![Health](https://phpackages.com/badges/vtcpay-soap-client/health.svg)](https://phpackages.com/packages/vtcpay-soap-client)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69734.4M144](/packages/algolia-algoliasearch-client-php)[phpforce/soap-client

A PHP client for the Salesforce SOAP API

801.9M1](/packages/phpforce-soap-client)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[freshcells/soap-client-bundle

SoapClientBundle for symfony

36154.7k](/packages/freshcells-soap-client-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
