Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

lizardmedia/php-process-manager

Repository files navigation

Build Status Scrutinizer Code Quality Latest Stable Version License

PHP Process Manager

PHP library for creating and managing PHP-processes.

Getting started

This instructions will tell You how to get a copy of library and use it to manage processes

Prerequsites

  • PHP 7.0

Installing

Using composer

Add to your project using composer:

composer require lizardmedia/php-process-manager

####Download ZIP #### Download zip archive and unpack it to your project

Usage

CLI

Commands using Symfony console:

./bin/phppm-background {script to run} {log file}

Example:

./bin/phppm-background "example/ProcessExample.php" script.log > pid

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Michał Adamiak - Lizard Media
  • Mateusz Procner - Lizard Media

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

To do

  • Add killing and managing processes