PHPackages                             vatcompliance/vatcompliance - 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. vatcompliance/vatcompliance

ActiveLibrary[API Development](/categories/api)

vatcompliance/vatcompliance
===========================

Vatcompliance.API Client for PHP

v1.0.1(4y ago)021MITPHPPHP &gt;=5.5.0

Since Dec 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LOVAT-compliance/vatcompliance-api-library)[ Packagist](https://packagist.org/packages/vatcompliance/vatcompliance)[ RSS](/packages/vatcompliance-vatcompliance/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Vatcompliance api php library
=============================

[](#vatcompliance-api-php-library)

Plugin install
--------------

[](#plugin-install)

The official documentation is located [here](https://developers.vatcompliance.co/omp-tax-rate-api/)

Getting Started
---------------

[](#getting-started)

```
composer require vatcompliance/vatcompliance

```

Example
-------

[](#example)

```
include __DIR__ . '/vendor/autoload.php';

$omp = new Merchant('__ACCESS KEY__');

$result = $omp->merchantSend(
	array(
		'transaction_id' =>'213321829137291739231321',
		'transaction_datetime' => date('Y-m-d'),
		'transaction_sum' => 25,
		'currency' => 'EUR',
		'customer_ip' => '127.0.0.1',
		"arrival_country" => " GBR",
		"arrival_city" => " London",
		"arrival_address_line" => " Peckham Road",
		"transaction_status" => "Success",
		'customer_phone_number' => '+48 *** *** ***',
		'getParams' => array(
			'if_digital' => 'true',
			'if_vat_calculate' => 'true'
		)
	)
);

```

If you see in method POST GET params `?if_digital={true/false}&if_vat_calculate={true/false}` set the given parameter in the array as:

```
	'getParams' => array(
		'if_digital' => 'true/false',
		'if_vat_calculate' => 'true/false'
	)

```

OMP Feed API methods
--------------------

[](#omp-feed-api-methods)

#### Definition

[](#definition)

Omp feed

```
$omp = new Omp('__ACCESS KEY__');
$omp->feed

```

Omp Tax Rate

```
$omp = new Omp('__ACCESS KEY__');
$omp->taxRate()

```

Omp Report Create

```
$omp = new Omp('__ACCESS KEY__');
$omp->reportCreate()

```

Get Status

```
$omp = new Omp('__ACCESS KEY__');
$omp->getStatus()

```

Get Report

```
$omp = new Omp('__ACCESS KEY__');
$omp->getReport()

```

Omp Invoice

```
$omp = new Omp('__ACCESS KEY__');
$omp->ompInvoice()

```

Omp Merchant Api
----------------

[](#omp-merchant-api)

Merchant feed

```
$merchant = new Merchant('__ACCESS KEY__');
$merchant->merchantSend()

```

Merchant Tax Rate

```
$merchant = new Merchant('__ACCESS KEY__');
$merchant->taxRate()

```

Merchant Vat Checker

```
$merchant = new Merchant('__ACCESS KEY__');
$merchant->vatChecker()

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Every ~1 days

Total

2

Last Release

1609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0645aa4822c3f0b5100a72b9a0946d70826f87fa039cfad925904459893c11b?d=identicon)[LOVAT-compliance](/maintainers/LOVAT-compliance)

---

Top Contributors

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

---

Tags

apivatcompliance

### Embed Badge

![Health badge](/badges/vatcompliance-vatcompliance/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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