2017 © Pedro Peláez
 

library process

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way.

image

hypnopompia/process

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way.

  • Tuesday, November 22, 2016
  • by Hypnopompia
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 15 % Grown

The README.md

Process

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way., (*1)

Highlights

Installation

Installing with composer is recommended., (*2)

composer require hypnopompia/process

Documentation

Be sure to checkout the examples folder., (*3)

<?php
require "vendor/autoload.php";
use Hypnopompia\Process;
$process = Process::factory("./scripts/simple.sh");
$process->start()->join()->stop(); // Start the process and wait for it to end, then cleanup
extract($process->getOutput());
echo "Process Id: " . $process->getPid() . "\n";
echo "STDOUT: " . $stdout . "\n";
echo "STDERR: " . $stderr . "\n";
echo "Exit code: " . $process->getExitcode() . "\n";

The Versions

22/11 2016

dev-master

9999999-dev

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way.

  Sources   Download

MIT

The Requires

  • php >= 5.3.2

 

by TJ Hunter

php exec stdin system proc_open stdout stderr

21/11 2016

1.0.3

1.0.3.0

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way.

  Sources   Download

MIT

The Requires

  • php >= 5.3.2

 

by TJ Hunter

php exec stdin system proc_open stdout stderr

17/11 2016

1.0.2

1.0.2.0

Process is a PHP library to help with the task of running other applications asynchronously from PHP in a pseudo-threaded way.

  Sources   Download

MIT

by TJ Hunter

php exec stdin system proc_open stdout stderr

17/11 2016

1.0.1

1.0.1.0

Execute background tasks using proc_open and friends.

  Sources   Download

by TJ Hunter

17/11 2016

1.0.0

1.0.0.0

Execute background tasks using proc_open and friends.

  Sources   Download

by TJ Hunter