Skip to content

tool help you to manage your PHP process, based on swoole

License

Notifications You must be signed in to change notification settings

kyozhou/php-service-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-service-manager

tool help you to manage your process, based on swoole

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

About

tool help you to manage your PHP process, based on swoole

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages