PHPackages                             iota-community/iota.php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. iota-community/iota.php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

iota-community/iota.php
=======================

IOTA.php library implementation in PHP

1.5.2(3y ago)451.0k7[1 issues](https://github.com/iota-community/iota.php/issues)[1 PRs](https://github.com/iota-community/iota.php/pulls)Apache License 2.0PHPPHP &gt;=8.0.0

Since Jun 28Pushed 2y ago8 watchersCompare

[ Source](https://github.com/iota-community/iota.php)[ Packagist](https://packagist.org/packages/iota-community/iota.php)[ Docs](https://github.com/iota-community/iota.php)[ RSS](/packages/iota-community-iotaphp/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (4)Dependencies (1)Versions (21)Used By (0)

[![tanglePHP](./help/images/IOTA_PHP_Banner_Interact.png)](./help/images/IOTA_PHP_Banner_Interact.png)

 [![Discord](https://camo.githubusercontent.com/28dac32abd88ff6d7a8444967343509f50305962aaedda98e7254d3fe821fd4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446973636f72642d3963662e7376673f7374796c653d736f6369616c266c6f676f3d646973636f7264)](https://discord.iota.org/) [![Twitter](https://camo.githubusercontent.com/9ece4264898ad72a23392e901217b193aeee7a533a9bb9599ff17958f516ed47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f547769747465722d3963662e7376673f7374796c653d736f6369616c266c6f676f3d74776974746572)](https://twitter.com/tanglePHP/)
 [![Apache-2.0 license](https://camo.githubusercontent.com/f9e086eace7b61d48283e615241f1f172995499fa3b0b4bd64d7ae0012773621/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368652d2d322e302d677265656e3f7374796c653d666c61742d737175617265)](https://github.com/iota-community/iota.php/LICENSE) [![IOTA](https://camo.githubusercontent.com/14cd35eea7a9165442dfacb6d51c06412db2482684b15b5b7a17ead4a3815724/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f494f54412d6c69676874677265793f7374796c653d666c6174266c6f676f3d696f7461)](https://www.iota.org/) [![>PHP 8](https://camo.githubusercontent.com/2505235d14ddc73f24ea202900bce8a41837dc5cf3b72ab4007dafa2153a0b27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3e3d20382e782d626c75653f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://www.php.net/) [![WorkflowUnitTest](https://github.com/iota-community/iota.php/actions/workflows/phpunit.yml/badge.svg)](https://github.com/iota-community/iota.php/actions/workflows/phpunit.yml/badge.svg) [![>packagist_stable](https://camo.githubusercontent.com/abaf4261c9a6e1fe464f1e8db22e5c0d1b06f847791c110234960dc4d2ec837c/68747470733a2f2f706f7365722e707567782e6f72672f696f74612d636f6d6d756e6974792f696f74612e7068702f762f737461626c652e706e67)](https://packagist.org/packages/iota-community/iota.php/)

About
=====

[](#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)

[](#interact-with-an-iota-singlenode-hornet-bee)

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

#### Wallet/Crypto

[](#walletcrypto)

- Generate mnemonic, seeds, addresses

#### Interact with the IOTA Faucet Api

[](#interact-with-the-iota-faucet-api)

- Get funds on devnet

#### Decentralized Identifiers (DID)

[](#decentralized-identifiers-did)

- create, manipulate, verify

#### Interact with an IOTA PermaNode (Chronicle)

[](#interact-with-an-iota-permanode-chronicle)

- Get messages and outputs

Requirements
============

[](#requirements)

- PHP 8+
- PHP Extensions:
    - [ext-curl](http://php.net/manual/en/book.curl.php)
    - [ext-mbstring](http://php.net/manual/en/book.mbstring.php)
    - [ext-bcmath](http://php.net/manual/en/book.bc.php)
    - [ext-sodium](http://php.net/manual/en/book.sodium.php)

Example
=======

[](#example)

```
