PHPackages                             alex-kalanis/kw\_rules - 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. alex-kalanis/kw\_rules

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

alex-kalanis/kw\_rules
======================

Entry rules for KWCMS

v3.0.0(2y ago)08942BSD-3-ClausePHPPHP &gt;=7.4.0

Since Jan 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_rules)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_rules)[ RSS](/packages/alex-kalanis-kw-rules/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (11)Used By (2)

kw\_rules
=========

[](#kw_rules)

[![Build Status](https://github.com/alex-kalanis/kw_rules/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_rules/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fd997a05bbe7f63fa94b5b195223d2deefed09740004c7f78f94147fa82538e2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f72756c65732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_rules/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/53a312d464a9a4480755c414fef4bc56ac296f42ad70234a85613714640c4317/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f72756c65732f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_rules)[![Minimum PHP Version](https://camo.githubusercontent.com/eed4d5cf01364b115489810f47ed4b33191d997e7ab4014f3daff1c09fbae7d9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e332d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/10390b8d3e770b01d9a7a008ca968b0c4c5bfd475f0f83faec1364a2d19ddb40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f72756c65732e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_rules)[![License](https://camo.githubusercontent.com/9ba0eed84e814905269c9ce373094f027ea4970704d8a47e1bbd2d37f1733ee7/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f72756c65732f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_rules)[![Code Coverage](https://camo.githubusercontent.com/542ac9cfc8fc62c5d380c5c44585a89010800effb5d37ae3744380ec76869782/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f72756c65732f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_rules/?branch=master)

Contains simplification of rules from the whole bunch of setting. Allow you create a variety of checks across your app. This one is mainly used for checks in forms.

PHP Installation
================

[](#php-installation)

```
composer.phar require alex-kalanis/kw_rules
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
=========

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Connect the "kw\_rules" classes into your app. When it came necessary you can extends every library to comply your use-case; mainly set checks itself.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

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

Recently: every ~161 days

Total

10

Last Release

771d ago

Major Versions

v1.0.0 → v2.0.02021-01-14

v2.1.6 → v3.0.02024-03-29

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v3.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (20 commits)")

---

Tags

ruleschecksrulesetchecking

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-kw-rules/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-kw-rules/health.svg)](https://phpackages.com/packages/alex-kalanis-kw-rules)
```

###  Alternatives

[ruler/ruler

A simple stateless production rules engine for modern PHP.

1.1k794.6k3](/packages/ruler-ruler)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2137.0k10](/packages/leroy-merlin-br-coding-standard)[hybridlogic/validation

A simple, extensible validation library for PHP with support for filtering and validating any input array along with generating client side validation code.

641.1k](/packages/hybridlogic-validation)

PHPackages © 2026

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