/iota.php

Interact with IOTA through PHP

Primary LanguagePHPApache License 2.0Apache-2.0

tanglePHP

Discord Twitter
Apache-2.0 license IOTA >PHP 8 WorkflowUnitTest >packagist_stable

About

PHP library to interact with an IOTA chrysalis SingleNode or PermaNode. Create, manipulate, verify IOTA DIDs. Create wallets, mnemonic, seeds, addresses.

The aim of the tanglePHP lib is to offer PHP developers an easy way to interact with the IOTA chrysalis network.

This library is functionally complete, but it is recommended to use iota.rs. The rust library will be more heavily maintained and is more performant.

This library allows you to do the following:

Interact with an IOTA SingleNode (Hornet, Bee)

  • Create messages with indexation
  • Create messages with transaction payloads (send Tokens)
  • Get messages and outputs

Wallet/Crypto

  • Generate mnemonic, seeds, addresses

Interact with the IOTA Faucet Api

  • Get funds on devnet

Decentralized Identifiers (DID)

  • create, manipulate, verify

Interact with an IOTA PermaNode (Chronicle)

  • Get messages and outputs

Requirements

Example

<?php
  // include iota lib
  require_once("autoload.php");
  // create client
  $client = new IOTA\Client\SingleNodeClient();
  // 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 IOTA Discord and post in the #php channel.

tanglePHP


Social

Follow me on Twitter @tanglePHP

Follow me on Soonaverse


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.