Overview

Datshazi is full-featured data parser from multiple source types.

Quickstart

  1. composer require datshazi/unit
  2. <any-file>.php:
require 'vendor/autoload.php';
$config = [
    'grabber' => [
    //...grabber configuration
    ],
];
$sources = [
    [
        'url' => 'https://github.com/blog/all.atom',
        'type' => \Datshazi\Unit::TYPE_FEED //or just 0
    ],
];

$unit = new \Datshazi\Unit($config, $sources);
print_r($unit->run());

Read docs