PHPackages                             efrane/conditional-process - 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. efrane/conditional-process

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

efrane/conditional-process
==========================

Conditionally run processes. This is a wrapper for symfony/process.

v1.1.2(9y ago)0495↓85.7%1MITPHP

Since Feb 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/eFrane/conditional-process)[ Packagist](https://packagist.org/packages/efrane/conditional-process)[ RSS](/packages/efrane-conditional-process/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (5)Used By (1)

[![Build Status](https://camo.githubusercontent.com/17fb42128a533e2a132688bac34961b629ee6a2bf43816571256c0c97c2f2baf/68747470733a2f2f7472617669732d63692e6f72672f654672616e652f636f6e646974696f6e616c2d70726f636573732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eFrane/conditional-process)

Conditional Process
===================

[](#conditional-process)

Conditionally run processes.

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

[](#installation)

This package is available on composer. You can install it with `composer require efrane/conditional-process`.

Usage
-----

[](#usage)

```
$process = new ConditionalProcess('cat README.md', new FileExists('README.md'));

$process->execute($readmeText);

// $readmeText will contain the contents of README.md if that file exists
```

License
-------

[](#license)

This package is available under the terms of the MIT license.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

3411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/671681f3e2af78795651f1dcbd5df04f36ff526f224a5e59dbc47940d9eb8918?d=identicon)[eFrane](/maintainers/eFrane)

---

Top Contributors

[![eFrane](https://avatars.githubusercontent.com/u/237165?v=4)](https://github.com/eFrane "eFrane (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/efrane-conditional-process/health.svg)

```
[![Health](https://phpackages.com/badges/efrane-conditional-process/health.svg)](https://phpackages.com/packages/efrane-conditional-process)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[civicrm/civicrm-core

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

751284.3k37](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[illuminate/process

The Illuminate Process package.

44869.2k98](/packages/illuminate-process)

PHPackages © 2026

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