/iota.php

Iota with PHP

Primary LanguagePHPApache License 2.0Apache-2.0

IOTA.php

Discord Twitter
Apache-2.0 license IOTA >PHP 8

About

PHP library to use IOTA REST API to help node management and tangle queries.

Please be aware that this library is in an early development state and the API of the library as well as the IOTA protocol is subject to change, it is NOT ready to use in production.

This library allows you to do the following:

  • Create messages with indexation and transaction payloads
  • Get messages and outputs
  • Generate addresses
  • Interact with an IOTA node

Requirements

Example

<?php
  // include iota lib
  require_once("../iota.php");
  // create client
  $client = new iota('https://api.lb-0.testnet.chrysalis2.com');
  // print result of node information
  echo $client->info();

Using iota.php library

Using the library is easy, more information can be found here.

Additional Examples: Please find other examples in the ./examples folder.


Joining the discussion

Discord Twitter

If you want to get involved in the community, need help with getting set up, have any issues or just want to discuss IOTA, feel free to join our Discord.

Follow me on Twitter @IOTAphp


Donation

It took me a lot of time to develop iota.php and need to pay for the server every month. If you want to support me or if my work helps you, kindly consider a small donation.

IOTA


License

The Apache 2.0 license can be found here.