2017 © Pedro Peláez
 

library phpclient

Eos PHP client

image

eos-project/phpclient

Eos PHP client

  • Sunday, June 28, 2015
  • by gotterdemarung
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Eos client

Scrutinizer Code Quality Build Status, (*1)

Simple static usage

Eos client can be used from static context, (*2)


\Eos\Client\Eos::sendString("Foo"); // Wont be sent - Eos not initialized \Eos\Client\Eos::init("realm", "secret", "hostname"); // Initialize \Eos\Client\Eos::sendString("Foo"); // Delivered using UDP \Eos\Client\Eos::send(["message" => "hello", "ip" => $_SERVER["REMOTE_ADDR"]]); // Delivered using UDP

psr3

Eos client bundled with \Eos\Client\EosDefaultLogger which is fully PSR3-compatible with configurable logging threshold level, (*3)


$l = new \Eos\Client\EosDefaultLogger("xxx", "yyy", "localhost", null, ["demo"], \Psr\Log\LogLevel::INFO); $l->debug("debug"); // Ignored due threshold $l->info("info"); // Delivered $l->notice("notice"); // Delivered

The Versions

28/06 2015

dev-master

9999999-dev

Eos PHP client

  Sources   Download

MIT

The Requires

 

by Avatar gotterdemarung

27/06 2015

0.1.0

0.1.0.0

Eos PHP client

  Sources   Download

MIT

The Requires

 

by Avatar gotterdemarung