Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Timandes/phpservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

PHP Service

Requirements

Getting Started

/**
 * hello.php
 */

// important!!!
declare(ticks=1);

require 'vendor/autoload.php';

use Timandes\CLI\Service;

$oService = Service::create(function() {
    // do something ...
});
$oService->start(3);

Launch:

$ php hello.php

Terminate safely (assume PID is 1234):

$ kill 1234

Documents

https://github.com/Timandes/php-service/wiki

Authors

Timandes White [email protected]

About

Framework to create light php service under Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages