Skip to content

Push data to Streamr by using PHP. No composer required.

License

Notifications You must be signed in to change notification settings

translate3d/streamr-php-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamr PHP Bridge

Push data to Streamr by using PHP. No composer required.

include_once($_SERVER['DOCUMENT_ROOT']. '/streamr/streamr.class.php');

$streamrClient = new Streamr('STREAMR_PRIVATE_KEY', 'STREAMR_STREAM_ID');

$response = $streamrClient->publishData(array(
    'hello' => 'world'
));

print_r($response);

Based on

Helpful links

About

Push data to Streamr by using PHP. No composer required.

Topics

Resources

License

Stars

Watchers

Forks