PHPackages                             nztforum/lzt-invoices-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nztforum/lzt-invoices-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nztforum/lzt-invoices-php
=========================

PHP library for the Lolzteam Market Invoices

00PHP

Since Apr 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/NztForum/lzt-invoices-php)[ Packagist](https://packagist.org/packages/nztforum/lzt-invoices-php)[ RSS](/packages/nztforum-lzt-invoices-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

invoice-php
===========

[](#invoice-php)

PHP library for the Lolzteam Market Invoices

Requirements
------------

[](#requirements)

PHP 8.3.0 and later.

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require nztforum/lzt-invoices-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once 'vendor/autoload.php';
```

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

[](#getting-started)

Simple usage looks like (creating invoice):

```
try {
$api = new LZT\Api('YOUR_API_KEY');
$payUrl = $api->invoice([
	'currency' => 'rub',
	'amount' => 500,
	'payment_id' => random_int(100, 100000),
	'comment' => 'Test invoice',
	'url_success' => 'https://lolz.live/',
	'url_callback' => 'https://example.com/callback',
	'merchant_id' => 1,
	'lifetime' => 3600,
]);
} catch (\LZT\Exception $e) { // handle errors
	$errors = $e->getErrors();
}

// Get info by payment_id / invoice_id

$info = $api->info(paymentId: 10000);

// or

$info = $api->info(invoiceId: 500);
```

Webhook verify
--------------

[](#webhook-verify)

```
$webhook = new LZT\Webhook('YOUR_MERCHANT_SECRET');
if ($webhook->verify()) {
	echo 'Webhook verified';
} else {
	echo 'Webhook verification failed';
}
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f00ee94c593803d317a79173510037604c359a08b27724795d425ed9f93ee5cd?d=identicon)[dev9121](/maintainers/dev9121)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nztforum-lzt-invoices-php/health.svg)

```
[![Health](https://phpackages.com/badges/nztforum-lzt-invoices-php/health.svg)](https://phpackages.com/packages/nztforum-lzt-invoices-php)
```

PHPackages © 2026

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