yaroslawww/laravel-zvonok-api

Laravel api client for zvonok.com service


Keywords
API-Client, zvonok, zvonok.com, laravel-zvonok-api
License
MIT

Documentation

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.