PHPackages                             geniv/nette-order-control - 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. [Framework](/categories/framework)
4. /
5. geniv/nette-order-control

ActiveLibrary[Framework](/categories/framework)

geniv/nette-order-control
=========================

Order control class for Nette Framework

v1.0.1(7y ago)049MITPHPPHP &gt;=7.0.0

Since Sep 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/geniv/nette-order-control)[ Packagist](https://packagist.org/packages/geniv/nette-order-control)[ RSS](/packages/geniv-nette-order-control/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Order control
=============

[](#order-control)

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

[](#installation)

```
$ composer require geniv/nette-order-control
```

or

```
"geniv/nette-order-control": ">=1.0.0"
```

require:

```
"php": ">=7.0.0"
```

Include in application
----------------------

[](#include-in-application)

content of IOrderControl:

```
//const:
IOrderControl::CURRENCY_CZK
IOrderControl::CURRENCY_EUR
IOrderControl::CURRENCY_USD
IOrderControl::CURRENCY_GBP

//method:
setPrice(float $price): IOrderControl;
setVat(float $vat): IOrderControl;
setCurrency(string $currency): IOrderControl;

getCurrency(): string;
getPrice(): float;
getVat(): float;

getPriceVat($priceAndVat = false): float;
getPriceTotal($priceAndVat = false): float;

setPayment(string $name, float $price, float $vat): IOrderControl;
getPaymentName(): string;
getPaymentPrice(): float;
getPaymentPriceVat($priceAndVat = false): float;

setDelivery(string $name, float $price, float $vat): IOrderControl;
getDeliveryName(): string;
getDeliveryPrice(): float;
getDeliveryPriceVat($priceAndVat = false): float;

getOrderNumber(array $items, int $zeros = self::ZEROS): string;
```

php usage:

```
$orderControl = new OrderControl();
$orderControl->setPrice($this->price);
$orderControl->setVat($this->vat);
$orderControl->setCurrency($this->currency);

$orderControl->setPayment($item['driver'], $item['price'], $this->vat);

$orderControl->setDelivery($item['driver'], $item['price'], $this->vat);
```

latte usage:

```
{$orderControl->getPrice()}
{$orderControl->getPriceVat(true)}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2703d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

nettecontrolordergeniv

### Embed Badge

![Health badge](/badges/geniv-nette-order-control/health.svg)

```
[![Health](https://phpackages.com/badges/geniv-nette-order-control/health.svg)](https://phpackages.com/packages/geniv-nette-order-control)
```

###  Alternatives

[nette/application

🏆 Nette Application: a full-stack component-based MVC kernel for PHP that helps you write powerful and modern web applications. Write less, have cleaner code and your work will bring you joy.

44615.4M983](/packages/nette-application)[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92140.6M1.4k](/packages/nette-di)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M592](/packages/nette-bootstrap)[contributte/application

Extra contrib to nette/application

352.8M7](/packages/contributte-application)

PHPackages © 2026

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