PHPackages                             portedcheese/product-variation - 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. portedcheese/product-variation

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

portedcheese/product-variation
==============================

Variations for products

v3.0.11(8mo ago)12391MITPHP

Since Aug 21Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/PortedCheese/product-variation)[ Packagist](https://packagist.org/packages/portedcheese/product-variation)[ RSS](/packages/portedcheese-product-variation/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (32)Used By (1)

Product Variation
=================

[](#product-variation)

Description
-----------

[](#description)

Добавление вариаций к товарам и заказов

Install
-------

[](#install)

```
php artisan migrate

php artisan vendor:publish --provider="PortedCheese\ProductVariation\ServiceProvider" --tag=public --force

php artisan make:product-variation
                        {--all : Run all}
                        {--models : Export models}
                        {--observers : Export observers}
                        {--controllers : Export controllers}
                        {--policies : Export and create rules}
                        {--only-default : Create default rules}
                        {--scss : Export scss}
                        {--vue : Export vue}

```

Config
------

[](#config)

```
NEW_ORDER_NOTIFY_EMAIL - Адрес куда уходят уведомления о новом заказе для клиента

```

Выгрузить конфигурацию:

```
php artisan vendor:publish --provider="PortedCheese\ProductVariation\ServiceProvider" --tag=config

```

Переменные конфигурации:

```
enableVariations(true) - Включить вариации
productVariationAdminRoutes(true) - Использовать роуты для управления вариациями из пакета
ordersSiteRoutes(true) - Использовать роуты для сайта из пакета
orderStatesAdminRoutes(true) - Использовать роуты для управления сатусами заказа из пакета
orderAdminRoutes(true) - Использовать роуты для управления заказами из пакета
measurementAdminRoutes(true) - Использовать роуты для управления измерениями из пакета
variationFacade - Класс фасада для действий с вариациями

orderFacade - Класс фасада для действий с заказами
productVariationResource - Класс для фасада вариаций

orderNumberHasLetter - Номер заказа с буквой в начале
orderDigitsLength - длина цифровой части номера заказа

clientNotifyEmail(NEW_ORDER_NOTIFY_EMAIL, false) - Адрес куда уходят уведомления о новом заказе для клиента
enableClientNotification(true) - Включить уведомления о заказе для клиента
enableUserNotification(true) - Включить уведомления о заказе для пользователя

enablePriceFilter(true) - Включить фильтрацию по ценам
priceFilterKey(product_price) - Ключ для фильтра по цене
enablePriceSort(true) - Включить сортировку по цене
priceSortReplaceNull(1000000000) - Значение цены когда цены нет, для помещения пустых товаров в конец списка

enableVariationSpecifications(false) - Включить характеристики для вариаций

```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance58

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~35 days

Total

31

Last Release

267d ago

Major Versions

v0.1.1 → v1.0.02020-09-16

v1.3.1 → v2.0.02024-07-26

v2.0.0 → v3.0.02024-09-13

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/portedcheese-product-variation/health.svg)

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

PHPackages © 2026

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