2017 © Pedro Peláez
 

library sync

Synchronize data between different formats

image

pieni/sync

Synchronize data between different formats

  • Monday, May 7, 2018
  • by pieni
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Sync - Synchronize data between different formats

Latest Stable Version Total Downloads License, (*1)

Requirement

MySQL 5.7.x / PHP 7.0.x, (*2)

Install

composer require pieni/sync

License

MIT License, (*3)

Reference

\pieni\Sync\Handler::__construct($name, $drivers)

  • Add drivers to Handler instance

\pieni\Sync\Handler::mtime($name = '')

  • Return latest driver's modification time

\pieni\Sync\Handler::get($name = '')

  • Get data from the latest driver
  • Put data to non-latest drivers
  • Return data

\pieni\Sync\Driver::mtime($name = '')

  • Return modification time

\pieni\Sync\Driver::get($name = '')

  • Return data

\pieni\Sync\Driver::put($data, $mtime, $name = '')

  • Put data
  • Update modification time to mtime if possible

The Versions

07/05 2018

dev-master

9999999-dev https://github.com/sagittar-org/pieni

Synchronize data between different formats

  Sources   Download

MIT

The Requires

 

cache pieni

07/05 2018

0.2.2

0.2.2.0 https://github.com/sagittar-org/pieni

Synchronize data between different formats

  Sources   Download

MIT

The Requires

 

cache pieni

07/05 2018

0.2.1

0.2.1.0 https://github.com/sagittar-org/pieni

Synchronize data between different formats

  Sources   Download

MIT

The Requires

 

cache pieni

04/05 2018

0.2.0

0.2.0.0

Synchronize data between different formats

  Sources   Download

MIT

The Requires

 

04/05 2018

0.1.0

0.1.0.0

Synchronize data between different formats

  Sources   Download

MIT

The Requires