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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yngc0der/bitrix-phpcondition

ActiveBitrix-d7-module[Utility &amp; Helpers](/categories/utility)

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

"PHP code" discount condition feature

v1.0.0(6y ago)4474MITPHPPHP &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 1w 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 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2470d 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

10.3k2.7k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3407.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

20256.6k4](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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