PHPackages                             yngc0der/bitrix-phpcondition - 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. yngc0der/bitrix-phpcondition

ActiveBitrix-d7-module

yngc0der/bitrix-phpcondition
============================

"PHP code" discount condition feature

v1.0.0(6y ago)4454MITPHPPHP &gt;=5.3.0

Since Nov 13Pushed 5y ago3 watchersCompare

[ Source](https://github.com/yngc0der/bitrix-phpcondition)[ Packagist](https://packagist.org/packages/yngc0der/bitrix-phpcondition)[ RSS](/packages/yngc0der-bitrix-phpcondition/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

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

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

Перейти в **DOCUMENT\_ROOT**

Выполнить:

```
composer require yngc0der/bitrix-phpcondition:dev-master

```

и

```
composer run-script post-install-cmd -d bitrix/modules/yngc0der.phpcondition

```

В результате:

1. файлы модуля загружены в директорию `bitrix/modules/yngc0der.phpcondition`
2. модуль зарегистрирован в системе
3. установлены необходимые обработчики событий

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

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

При создании правила работы с корзиной в блоке "Дополнительные условия" необходимо добавить условие "PHP выражение", где в поле значения вписать PHP выражение, которое возвращает логическое значение. Например, `isPromopage()`, где isPromopage - определенная функция, которая возвращает тип `bool`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2373d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13169784?v=4)[RG.](/maintainers/yngc0der)[@yngc0der](https://github.com/yngc0der)

---

Tags

bitrixbitrix-cmsbitrix-modulebitrix24

### Embed Badge

![Health badge](/badges/yngc0der-bitrix-phpcondition/health.svg)

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

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

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