2017 © Pedro Peláez
 

library process

Simple abstraction for starting and stopping processes

image

asyncphp/process

Simple abstraction for starting and stopping processes

  • Sunday, January 8, 2017
  • by assertchris
  • Repository
  • 0 Watchers
  • 9 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Process

Build Status Scrutinizer Code Quality, (*1)

Simple abstraction for starting and stopping processes., (*2)

Installation

composer require asyncphp/process

Usage

use AsyncPHP\Process\PosixHandler;

$loop->start($id = "server", $command = "start-server.sh", $background = true);
sleep(60);
$loop->stop($id);

Compatibility

This library uses exec and ps to start and find processes. It will not work on systems where exec has been disabled, or where ps -e/E does not return the environment variables of a process. I've tested on macOS Sierra and Ubuntu Trusty 14.04., (*3)

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library., (*4)

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading., (*5)

The Versions

08/01 2017

dev-master

9999999-dev

Simple abstraction for starting and stopping processes

  Sources   Download

MIT

The Requires

  • php ^5.4|^7.0

 

The Development Requires

08/01 2017

1.0.0

1.0.0.0

Simple abstraction for starting and stopping processes

  Sources   Download

MIT

The Requires

  • php ^5.4|^7.0

 

The Development Requires