Skip to content

Simple data collector for php application, inspiration comes from maximebf/debugbar.

Notifications You must be signed in to change notification settings

happen-zhang/data-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

data-collector

Simple data collector for php application, inspiration comes from maximebf/debugbar.

Install

$ composer require zhp/data-collector

Usage

require 'vendor/autoload.php';

use Zhp\DataCollector\DataCollector;
use Zhp\DataCollector\Collectors\MemoryCollector;
use Zhp\DataCollector\Storages\FileStorage;

$dataCollector = new DataCollector;
$dataCollector->setStorage(new FileStorage(__DIR__ . '/logs'));
$dataCollector->addCollector(new MemoryCollector);

$dataCollector->getData();

Todo

more...

About

Simple data collector for php application, inspiration comes from maximebf/debugbar.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages