This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A tool to scrap the data from Timesystem

dev-master 2018-10-25 08:12 UTC

This package is auto-updated.

Last update: 2021-07-25 14:33:23 UTC


The tool for scrapping the data from Timesystem

How tu run?

  • docker-compose up -d
  • docker-compose exec php composer install

How to use?


use GuzzleHttp\Client;
use Rpodwika\TimesystemScrapper\Scrapper\Timesystem;
use Rpodwika\TimesystemScrapper\Timesystem\{
    TimesystemHttpClient, Credentials

$client = new Client([
            'base_uri' => 'https://timesystem-url',
            'timeout' => 2.0,
            'cookies' => true,

$timesystemHttpClient = new TimesystemHttpClient($client);

$timesystemHttpClient->authenticate(new Credentials("username", "pass"));

$timesystem = new Timesystem($timesystemHttpClient);



docker-compose exec php bash ./vendor/bin/phpunit