2017 © Pedro Peláez
 

library php-service-manager

image

kyozhou/php-service-manager

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php-service-manager

tool help you to manage your process, based on swoole, (*1)

How to use ?

  1. add kyozhou/php-service-manager to require filed in your composer.json file
  2. composer install
  3. php yourscript.php start|stop|restart|debug(it will create a "yourscript.pid" file in current dic)

use case

<?php
require 'vendor/autoload.php'; //this will autoload php-service-manager
while(true) {
    file_put_contents("/tmp/logger.log", rand(1, 9) . ',', FILE_APPEND);
    sleep(1);
}

author email: kyozhou@sina.com, (*2)

The Versions

04/07 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by 周斌

14/10 2016

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by 周斌