macseem/mim

Universal Importer

0.5.1 2015-10-07 21:23 UTC

README

It's module for universal import something from source to some destination

All you need to do is :

  • to implement the interfaces of:
    • \MIM\interfaces\models\Source
    • \MIM\interfaces\models\Destination
  • (not necessary) to implement the interface \MIM\interfaces\models\OffsetProvider for saving the offset between import sessions via another thing redis, db, etc. by default the OffsetProvider saves it into a file

Some helping things:

There are some base models _(source, destination)_ you can extend yours from;