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

This package is not auto-updated.

Last update: 2024-04-25 13:46:27 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.