PHPackages                             lisin/vat - 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. lisin/vat

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

lisin/vat
=========

VAT 22% normalization functions for Laravel

2.0.0(3mo ago)02.0k↓100%MITPHP

Since Jan 11Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/FlashWS/VAT)[ Packagist](https://packagist.org/packages/lisin/vat)[ RSS](/packages/lisin-vat/feed)WikiDiscussions master Synced 1mo ago

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

Функции помощники для нормализации цен с НДС 22% для Laravel
============================================================

[](#функции-помощники-для-нормализации-цен-с-ндс-22-для-laravel)

Установка
---------

[](#установка)

```
composer require lisin/vat:^2.0.0

```

Использование
-------------

[](#использование)

### Для цен с округлением до целых

[](#для-цен-с-округлением-до-целых)

```
$price = Str::correctPriceCeilForNds(100);
// 102 (в том числе НДС 17)

```

### Для цен с округлением до десятых

[](#для-цен-с-округлением-до-десятых)

```
$price = Str::correctPriceForNds(100.00);
// 100.02 (в том числе НДС 16,67)

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance78

Regular maintenance activity

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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 ~2190 days

Total

2

Last Release

119d ago

Major Versions

1.0.0 → 2.0.02026-01-10

### Community

Maintainers

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

### Embed Badge

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

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

PHPackages © 2026

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