PHPackages                             swp/rule - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. swp/rule

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

swp/rule
========

Business rules engine tools.

v2.1.0(6y ago)07.0k1AGPL-3.0PHPPHP ^7.3

Since Oct 5Pushed 5y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (34)Used By (1)

Rule Component [![Build Status](https://camo.githubusercontent.com/f69bd2a50e168ad6a44bb7b4c0dba3f63f21b35699736c5cbce475a479702aea/68747470733a2f2f7472617669732d63692e6f72672f53757065726465736b5765625075626c69736865722f72756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SuperdeskWebPublisher/rule)
============================================================================================================================================================================================================================================================================================================================

[](#rule-component-)

This component provides basic business rules engine tools.

Documentation
-------------

[](#documentation)

Documentation is available here: [http://superdesk-publisher.readthedocs.org](http://superdesk-publisher.readthedocs.org/en/latest/components/Rule/index.html)

How to Contribute
-----------------

[](#how-to-contribute)

You want to contribute to the component? That's great and we really appreciate it! Before sumbitting your work though, please read the contributing [guideline](http://superdesk-publisher.readthedocs.org/en/latest/contributing/index.html) for the details on how to do it. Thanks!

License
-------

[](#license)

See the complete license [here](LICENSE.md).

Contributors
------------

[](#contributors)

This component is a Sourcefabric z.ú. and contributors initiative.

List of all authors and contributors can be found [here](AUTHORS.md).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~35 days

Recently: every ~26 days

Total

30

Last Release

2528d ago

Major Versions

v0.6.0 → v1.0.02017-05-09

1.5.x-dev → 2.0.x-dev2019-04-17

PHP version history (3 changes)v0.0.1PHP &gt;=5.6|^7.0

v0.6.0PHP ^7.0

2.0.x-devPHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a627b5dddd890c30bd726f716d46e574cfaf91c86ec6dab92d276c96ec52f7ae?d=identicon)[sd\_webpublisher](/maintainers/sd_webpublisher)

---

Top Contributors

[![takeit](https://avatars.githubusercontent.com/u/562536?v=4)](https://github.com/takeit "takeit (20 commits)")[![ahilles107](https://avatars.githubusercontent.com/u/298610?v=4)](https://github.com/ahilles107 "ahilles107 (15 commits)")[![ljubar](https://avatars.githubusercontent.com/u/1876313?v=4)](https://github.com/ljubar "ljubar (1 commits)")

---

Tags

businesslibraryexpressionrulerulespublisherSuperdesk

### Embed Badge

![Health badge](/badges/swp-rule/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M731](/packages/sylius-sylius)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.7k](/packages/contao-core-bundle)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.0k](/packages/typo3-cms-core)

PHPackages © 2026

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