databoxtech / multi-social
Php library for pushing social posts to multiple social medias simultaneously with minimum coding.
dev-master / 1.0.x-dev
2020-03-18 07:55 UTC
Requires
- php: ~7.2
- facebook/graph-sdk: ^5.7
- phpunit/phpunit: ^8.5
Requires (Dev)
This package is not auto-updated.
Last update: 2025-03-27 18:15:40 UTC
README
Php library for pushing social posts to multiple social medias simultaneously with minimum coding.
Install
Via Composer
$ composer require databoxtech/multi-social
Usage
$multiSocila = new databoxtech\multisocial([ 'facebook' => [ 'app_id' => '', 'app_secret' => '', 'access_token' => '', 'page_id' => '', ] ]); $attachment = new Attachment('/data/sample.jpg', 'Sample Image', Attachment::TYPE_IMAGE); $post = new Post('Hello, Multi Social!', 'Posts to multiple social medias simultaneously', [$attachment]); $multiSocila->post($post);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email prabath@databoxtech.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.