2017 © Pedro Peláez
 

library clibase

AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).

image

aza/clibase

AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).

  • Tuesday, May 28, 2013
  • by amal
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10,715 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

AzaCliBase

Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..)., (*1)

https://github.com/Anizoptera/AzaCliBase, (*2)

![Build Status][TravisImage], (*3)

Table of Contents

  1. Introduction
  2. Requirements
  3. Optional requirements
  4. Installation
  5. Credits
  6. License
  7. Links

Introduction

Provides convenient API for commonly needed tasks in CLI or Daemon applications., (*4)

Some features:, (*5)

  • Detaching process from the controlling terminal;
  • Fork wrapper (with libevent base reinitializing if needed);
  • Signals and exit codes reference;
  • Signals hadling and simple waiting (with pcntl);
  • Get current tty width in columns;
  • Get running command by PID;
  • Kill process tree;
  • Change process title;
  • ... other;

Requirements

  • PHP 5.3.3 (or later);
  • Unix system;
  • pcntl;
  • posix;

Optional requirements

Installation

The recommended way to install AzaCliBase is through composer. You can see package information on Packagist., (*6)

{
    "require": {
        "aza/clibase": "~1.0"
    }
}

Credits

AzaCliBase is a part of Anizoptera CMF, written by Amal Samally (amal.samally at gmail.com) and AzaGroup team., (*7)

License

Released under the MIT license., (*8)

The Versions

28/05 2013

dev-master

9999999-dev https://github.com/Anizoptera/AzaCliBase

AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by AzaGroup Members

helper cli utility signal pcntl daemon fork posix libevent exit code

28/05 2013

v1.1

1.1.0.0 https://github.com/Anizoptera/AzaCliBase

AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by AzaGroup Members

helper cli utility signal pcntl daemon fork posix libevent exit code

27/02 2013

v1.0

1.0.0.0 https://github.com/Anizoptera/AzaCliBase

AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by AzaGroup Members

helper cli utility signal pcntl daemon fork posix libevent exit code