fwolf / tt-sync-plugin-api
Plugin API of TT Sync
Requires
- php: >=7.0
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-12-10 04:31:51 UTC
README
PluginFactoryInterface & AbstractPluginFactory class
Each plugin should have their own factory class implement PluginFactoryInterface, and implement plugin config after created.
PluginInterface & AbstractPlugin class
All plugins should implement PluginInterface, AbstractPlugin is an implement with shared feature.
MessageInterface & Message class
Messages retrieved from source will be format to MessageInterface instance, and transfer to destination, this interface is a pipe between different message format from different twitter like service.
Message is an implement, with message dump and compare feature, can be used to save message and attachment to disk or sort them for re-post.
AttachmentInterface Attachment class
Interface for attachment, download feature included.
License
Distribute under the MIT license.