muhammetsafak/command-process 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

muhammetsafak/command-process

Composer 安装命令:

composer require muhammetsafak/command-process

包简介

Command Process

README 文档

README

Installation

composer require muhammetsafak/command-process:dev-develop

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

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

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

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

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

License

Copyright © 2023 MIT License

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-22