fei / notification-client
Flash applicative Notification - client component
Installs: 6 869
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 25
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0
- fei/api-client: ^1.1.0
- fei/notification-common: ^1.3.0
Requires (Dev)
- codeception/codeception: ^2.2
- jakub-onderka/php-parallel-lint: ^0.9.2
- phpmd/phpmd: ^2.6
- phpro/grumphp: ^0.11.1
- sebastian/phpcpd: ^3.0
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2024-11-29 04:09:09 UTC
README
Table of contents
Purpose
This client permit to use the Notification Api
. Thanks to it, you could request the API to :
- Fetch data
- Create data
- Update data
- Delete data
easily
Requirements
Runtime
- PHP 5.5
Step by step Installation
for all purposes (devlopment, contribution and production)
Initialization
- Cloning repository
git clone https://github.com/flash-global/notification-client.git
- Run Composer depedencies installation
composer install
Configuration
The notification client needs some options to work properly. The available options that can be passed to the __construct()
or setOptions()
methods are :
Settings
Don't forget to set the right baseUrl
!
<?php $notifier = new Notifier([AbstractApiClient::OPTION_BASEURL => 'http://127.0.0.1:8800']); $notifier->setTransport(new BasicTransport());
Known issues
No known issue at this time.
Contribution
As FEI Service, designed and made by OpCoding. The contribution workflow will involve both technical teams. Feel free to contribute, to improve features and apply patches, but keep in mind to carefully deal with pull request. Merging must be the product of complete discussions between Flash and OpCoding teams :)
Link to documentation
Examples
You can test this client easily thanks to the folder examples
Here, an example on how to use example : php /my/notification-client/folder/examples/notify.php
Credits
- Product Owner : Nicolas Devaux (FEI)
- Lead developer : Boris Cerati (OpCoding)
- Main developer : Ludovic Sanctorum (OpCoding)