PHPackages                             wearesho-team/wearesho-notifications-repository - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. wearesho-team/wearesho-notifications-repository

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

wearesho-team/wearesho-notifications-repository
===============================================

1.1.0(7y ago)050[1 PRs](https://github.com/wearesho-team/wearesho-notifications-repository/pulls)1MITPHPPHP &gt;=7.2

Since Oct 3Pushed 7y ago2 watchersCompare

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

READMEChangelog (3)Dependencies (4)Versions (6)Used By (1)

Wearesho Notifications Repository
=================================

[](#wearesho-notifications-repository)

[![Build Status](https://camo.githubusercontent.com/366bc1214a105515c5913a86d188355287c69aefb7203e953321e5171f5f7976/68747470733a2f2f7472617669732d63692e6f72672f776561726573686f2d7465616d2f776561726573686f2d6e6f74696669636174696f6e732d7265706f7369746f72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wearesho-team/wearesho-notifications-repository)[![codecov](https://camo.githubusercontent.com/80b1ffc1693169f0de1af10ca38e142ba6db4d55c3720684e48e3ad70f3cea0b/68747470733a2f2f636f6465636f762e696f2f67682f776561726573686f2d7465616d2f776561726573686f2d6e6f74696669636174696f6e732d7265706f7369746f72792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/wearesho-team/wearesho-notifications-repository)

This library represents a flexible adapter between your project and [Wearesho Notifications](https://github.com/wearesho-team/wearesho-notifications). You can either create user`s authorization token for connecting to notifications server using sockets, or push a notification to it.

Setup
-----

[](#setup)

```
composer require wearesho-team/wearesho-notifications-repository
```

Usage
-----

[](#usage)

### Config

[](#config)

To deal with it, you should create [ConfigInterface](./src/ConfigInterface.php). There are two internal implementations, but you can also implement it by yourself.

```
