PHPackages                             wearesho-team/phonet - 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. [API Development](/categories/api)
4. /
5. wearesho-team/phonet

ActiveLibrary[API Development](/categories/api)

wearesho-team/phonet
====================

Phonet Api Integration

1.0.1(7y ago)086[1 PRs](https://github.com/wearesho-team/phonet/pulls)MITPHPPHP ^7.2

Since Feb 28Pushed 7y ago2 watchersCompare

[ Source](https://github.com/wearesho-team/phonet)[ Packagist](https://packagist.org/packages/wearesho-team/phonet)[ RSS](/packages/wearesho-team-phonet/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (9)Versions (7)Used By (0)

Phonet Api integration
======================

[](#phonet-api-integration)

You can receive original docs on [phonet](https://phonet.com.ua/) site

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

[](#installation)

```
composer require wearesho-team/phonet
```

Configuration
-------------

[](#configuration)

Exist two implementation of configurations:

- [Config](./src/Config.php) - custom config
- [EnvironmentConfig](./src/EnvironmentConfig.php) - based on [Horatius\\Environment\\Config](https://github.com/Horat1us/environment-config)

Available environment variables:

variablerequireddescriptionPHONET\_DOMAINYesDomain name of your cms\\systemPHONET\_API\_KEYYesSpecial api key that ypu can receive in your Phonet accountUse [ConfigInterface](./src/ConfigInterface.php) to create your custom config

Usage
-----

[](#usage)

### Provider

[](#provider)

To use **Phonet** api you must authorize to service. For this exist [Authorization\\ProviderInterface](./src/Authorization/ProviderInterface.php)

```
