Skip to content

Latest commit

 

History

History
executable file
·
77 lines (55 loc) · 2.52 KB

README.md

File metadata and controls

executable file
·
77 lines (55 loc) · 2.52 KB

multi-social

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.