Looking to hire Laravel developers? Try LaraJobs

laravel-zvonok-api maintained by yaroslawww

Description
Laravel api client for zvonok.com service
Last update
2020/09/09 10:24 (dev-master)
License
Downloads
65

Comments
comments powered by Disqus

Laravel api client for zvonok.com service

Installation

You can install the package via composer:

composer require yaroslawww/laravel-zvonok-api

You can publish and run the migrations with:

You can publish the config file with:

php artisan vendor:publish --provider="GCSC\LaravelZvonokApi\LaravelZvonokApiServiceProvider" --tag="config"

Usage

ZvonokApi::request('post', 'phones/append/calls/', [
        'multipart' => [
            [
                'name' => 'campaign_id',
                'contents' => '123456789',
            ],
            [
                'name' => 'phones',
                'contents' => fopen('/path/to/file.csv', 'r'), // just csv data as string
            ],
        ],
    ]
);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.