Build and parse messages
Create signable SIWE messages from PHP fields or parse the message returned by a wallet.
Generate, parse and verify Sign-In with Ethereum messages for externally owned accounts and smart contract wallets.

composer require iltumio/siwe-phpRequires PHP 8.3 or later and the GMP, mbstring, ctype and JSON extensions.
Security status
This library is released as is and has not undergone a formal security audit. Read the authentication guide before integrating it into a login flow.
A PHP port of SIWE. Learn about Sign-In with Ethereum at login.xyz.