PHPackages                             samsonframework/string-condition-tree - 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. samsonframework/string-condition-tree

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

samsonframework/string-condition-tree
=====================================

SamsonFramework string condition tree generator

1.0.5(9y ago)27Open Software License (OSL) v 3.0PHP

Since Mar 31Pushed 9y ago2 watchersCompare

[ Source](https://github.com/samsonframework/string-condition-tree)[ Packagist](https://packagist.org/packages/samsonframework/string-condition-tree)[ Docs](http://samsonos.com/)[ RSS](/packages/samsonframework-string-condition-tree/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

SamsonFramework String condition tree generator.
================================================

[](#samsonframework-string-condition-tree-generator)

Library for generating optimized strings conditions tree from strings array.

[![Latest Stable Version](https://camo.githubusercontent.com/5154f79858c32fd0e93c0da66f049a2ef0b647b7408e6bb44c4c07b30e6cb793/68747470733a2f2f706f7365722e707567782e6f72672f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f762f737461626c652e737667)](https://packagist.org/packages/samsonframework/string-condition-tree)[![Build Status](https://camo.githubusercontent.com/11ce3fe059f24c12bf6aef6f81dbec870e3d796c276d570c12f958594277e256/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/samsonframework/string-condition-tree/build-status/master)[![Coverage Status](https://camo.githubusercontent.com/6e6b1bcfaf7c32ac0d2b52967e17347db9f24556590a3c64731d02915ebe3b7a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/samsonframework/string-condition-tree?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/caffd8394b5f95a55b1f9bd165403d7bfd7d889e7872225d8df68a05cd9ba387/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/samsonframework/string-condition-tree/?branch=master)[![Code Climate](https://camo.githubusercontent.com/3baf804b3465951e79494932df1971ae7b73546f457e37bb7012caae6a2f584e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f6261646765732f6770612e737667)](https://codeclimate.com/github/samsonframework/string-condition-tree)[![Total Downloads](https://camo.githubusercontent.com/4a6785c7d04588edc684345479a0ca7a328da05e03d17251fa6f59160888cc9c/68747470733a2f2f706f7365722e707567782e6f72672f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652f646f776e6c6f6164732e737667)](https://packagist.org/packages/samsonframework/string-condition-tree)[![StyleCI](https://camo.githubusercontent.com/80cd459fff745f8fe6a130747706c8cdb01e978457c8b54b72a861979bc2b6c6/68747470733a2f2f7374796c6563692e696f2f7265706f732f37373133383435352f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/77138455)[![Stories in Ready](https://camo.githubusercontent.com/af6a206ad6b71ec35d0292f84f4693418985cc1033235be59dced21da2a285f8/68747470733a2f2f62616467652e776166666c652e696f2f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/samsonframework/string-condition-tree)[![Inline docs](https://camo.githubusercontent.com/694c3ad6bab5bc80cf418183d06887ab4a93cf61cc81af4b4e5d570ace5db7a3/687474703a2f2f696e63682d63692e6f72672f6769746875622f73616d736f6e6672616d65776f726b2f737472696e672d636f6e646974696f6e2d747265652e7376673f6272616e63683d6d6173746572)](http://inch-ci.org/github/samsonframework/string-condition-tree)

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

[](#documentation)

Follow [official documentation](http://github.com/samsonframework/string-condition-tree/blob/master/docs/Index.md).

Installation
------------

[](#installation)

You can install this package through Composer: `composer require samsonframework/string-condition-tree`

The packages adheres to the SemVer specification, and there will be full backward compatibility between minor versions.

Testing
-------

[](#testing)

`$ vendor/bin/phpunit`

Contributing
------------

[](#contributing)

Feel free to fork and create pull requests at any time.

Security
--------

[](#security)

If you discover any security related issues, please use this repository issue tracker.

License
-------

[](#license)

Open Software License ("OSL") v 3.0. Please see License File for more information.

[SamsonOS](http://samsonos.com)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 99.5% 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 ~1 days

Total

6

Last Release

3324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0be8756efdc8f599b8fe9261bed31570d0f140a3b921f0f891877a9133ad654c?d=identicon)[samsonos](/maintainers/samsonos)

---

Top Contributors

[![vitalyiegorov](https://avatars.githubusercontent.com/u/586558?v=4)](https://github.com/vitalyiegorov "vitalyiegorov (186 commits)")[![rmolodyko](https://avatars.githubusercontent.com/u/4399482?v=4)](https://github.com/rmolodyko "rmolodyko (1 commits)")

---

Tags

treesamsonframeworkconditioncondition treepld generatorpld

### Embed Badge

![Health badge](/badges/samsonframework-string-condition-tree/health.svg)

```
[![Health](https://phpackages.com/badges/samsonframework-string-condition-tree/health.svg)](https://phpackages.com/packages/samsonframework-string-condition-tree)
```

###  Alternatives

[knplabs/knp-menu

An object oriented menu library

1.4k55.8M287](/packages/knplabs-knp-menu)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[bluem/tree

Library for handling tree structures based on parent IDs

252916.1k7](/packages/bluem-tree)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[loophp/phptree

An implementation of tree data structure

981.8M2](/packages/loophp-phptree)[kartik-v/yii2-tree-manager

An enhanced tree management module with tree node selection and manipulation using nested sets.

156529.0k15](/packages/kartik-v-yii2-tree-manager)

PHPackages © 2026

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