PHPackages                             muhammetsafak/command-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. [CLI &amp; Console](/categories/cli)
4. /
5. muhammetsafak/command-process

ActiveLibrary[CLI &amp; Console](/categories/cli)

muhammetsafak/command-process
=============================

Command Process

00PHP

Since Dec 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/muhammetsafak/CommandProcessManager)[ Packagist](https://packagist.org/packages/muhammetsafak/command-process)[ RSS](/packages/muhammetsafak-command-process/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Command Process Manager
=======================

[](#command-process-manager)

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

[](#installation)

```
composer require muhammetsafak/command-process:dev-develop

```

Usage
-----

[](#usage)

`email_send.php` :

```
$to = $argv[1];

$subject = "Hello World";
$message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sollicitudin varius dui, sit amet molestie justo pulvinar at. Nunc mi est, condimentum eget aliquet at, laoreet vel ipsum. Aliquam accumsan nulla at lorem consectetur, vitae venenatis justo rhoncus.";
$headers = "From: example@example.com";

mail($to, $subject, $message, $headers);

echo "E-Mail Gönderildi! : " . $to;
```

```
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor/autoload.php';
use CommandProcessManager\Process;

$to = (isset($_GET['to']) && filter_var($_GET['to'], FILTER_VALIDATE_EMAIL)) ? $_GET['to'] : 'test@example.com';

$process = new Process("php ./email_send.php " . escapeshellarg($to));

echo "E-Mail is being sent..." . PHP_EOL;
echo $process->getContents();
```

Getting Help
------------

[](#getting-help)

If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.

Getting Involved
----------------

[](#getting-involved)

> All contributions to this project will be published under the MIT License. By submitting a pull request or filing a bug, issue, or feature request, you are agreeing to comply with this waiver of copyright interest.

There are two primary ways to help:

- Using the issue tracker, and
- Changing the code-base.

### Using the issue tracker

[](#using-the-issue-tracker)

Use the issue tracker to suggest feature requests, report bugs, and ask questions. This is also a great way to connect with the developers of the project as well as others who are interested in this solution.

Use the issue tracker to find ways to contribute. Find a bug or a feature, mention in the issue that you will take on that effort, then follow the Changing the code-base guidance below.

### Changing the code-base

[](#changing-the-code-base)

Generally speaking, you should fork this repository, make changes in your own fork, and then submit a pull request. All new code should have associated unit tests that validate implemented features and the presence or lack of defects. Additionally, the code should follow any stylistic and architectural guidelines prescribed by the project. In the absence of such guidelines, mimic the styles and patterns in the existing code-base.

Credits
-------

[](#credits)

- [Muhammet ŞAFAK](https://www.muhammetsafak.com.tr) &lt;&gt;

License
-------

[](#license)

Copyright © 2023 [MIT License](./LICENSE)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance57

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b6b34f3ac8938d8ee52ba3bd260680855dc5715c7b2929d9380de30d15a67dd?d=identicon)[muhammetsafak](/maintainers/muhammetsafak)

---

Top Contributors

[![muhammetsafak](https://avatars.githubusercontent.com/u/104234499?v=4)](https://github.com/muhammetsafak "muhammetsafak (1 commits)")

### Embed Badge

![Health badge](/badges/muhammetsafak-command-process/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)

PHPackages © 2026

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