PHPackages                             wearesho-team/evrotel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wearesho-team/evrotel

AbandonedLibrary

wearesho-team/evrotel
=====================

Evrotel API Integration

6.0.0(6y ago)0270[6 PRs](https://github.com/wearesho-team/evrotel/pulls)MITPHPPHP &gt;=7.2

Since Oct 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/wearesho-team/evrotel)[ Packagist](https://packagist.org/packages/wearesho-team/evrotel)[ RSS](/packages/wearesho-team-evrotel/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (23)Used By (0)

Evrotel API Integration
=======================

[](#evrotel-api-integration)

[![Build Status](https://camo.githubusercontent.com/8e11aa48e6b51ff2ce5ade4a69f7058dd5a1c812aace7dc02221944503381cdb/68747470733a2f2f7472617669732d63692e6f72672f776561726573686f2d7465616d2f6576726f74656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wearesho-team/evrotel)[![codecov](https://camo.githubusercontent.com/db1e97cc28701a24c85d6093c5d51a32bb65fb180685f49a0ee761dd2999ea12/68747470733a2f2f636f6465636f762e696f2f67682f776561726573686f2d7465616d2f6576726f74656c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/wearesho-team/evrotel)

This library created using [API Docs](https://docs.google.com/document/d/10wGFGzql3ix8dH_JfXsp2BHyjbbFnEdZr089QRStAXY/edit#heading=h.la6q3gdlwnb9)

Installation
------------

[](#installation)

```
composer require wearesho-team/evrotel
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

You can use [Config](./src/Config.php) to configure app. Also, [Environment Config](./src/EnvironmentConfig.php) available:

- **EVROTEL\_TOKEN**, string - token received from Evrotel manager
- **EVROTEL\_BILL\_CODE**, integer - bill code received from Evrotel manager
- **EVROTEL\_BASE\_URL**, string, default `http://m01.sipiko.net/` - base url for statistics files
- **EVROTEL\_AUTO\_DIAL\_URL**, string, default `https://autodial.evro-tel.com.ua/autodialapi/call_worker_api.php`, url for auto dial requests.

#### Statistics

[](#statistics)

You can use [Config](./src/Statistics/Config.php) to configure statistics client. Also, [Environment Config](./src/Statistics/EnvironmentConfig.php) available:

- **EVROTEL\_STATISTICS\_BASE\_URL**, string, default `https://callme.sipiko.net/` - base url for statistics requests
- **EVROTEL\_STATISTICS\_AUTODIAL\_NUMBER**, string, default `null` - if specified, all statistics call with same `from`will be marked as auto dials.

### Receiver

[](#receiver)

```
