PHP port of sysexits.h
composer.json:
{
"repositories": [
{"type": "vcs", "url": "https://github.com/sdj/sysexits.php"}
],
"require" : {
"sdj/sysexits.php": "dev-master"
}
}
<?php
require 'vendor/autoload.php';
use sdj\Sysexits;
Sysexits::do_exit('ok');