/service-status

Library to report service status on a server.

Primary LanguagePHPMIT LicenseMIT

Service Status

Service to return JSON information representing the status services on this server.

Branch status coverage
develop Build Status Coverage Status
master Build Status Coverage Status

Requirements

This library requires at least:

Usage

If you want to check the apache virtual hosts being served:

// Get the virtual hosts running on this server
$apacheService = new ServerStatus\Service\Apache;
$vhosts = $apacheService->getVhosts();

If you'd like to get a list of projects you have access to in Gitlab

// Connect to Gitlab and get the projects
$gitlabService = new ServerStatus\Service\Gitlab([
    'private-token' => 'your-private-token-value',
]);
$projects = $gitlabService->getProjects();

Authors

Author Email
Cory Collier corycollier@corycollier.com