zulucrypto / mobius-php
API client for Mobius
Installs: 143
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/zulucrypto/mobius-php
Requires
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2025-10-12 09:26:32 UTC
README
Provides simple access to the Mobius API for applications written in PHP
Installation
Install with composer:
$ composer require zulucrypto/mobius-php
Quickstart
This library provides an object-oriented way to interact with the Mobius API:
// Main object for working with the API $mobius = new Mobius($API_KEY); // Retrieves an object to work with the DApp store $appStore = $mobius->getAppStore($APP_UID); // Easily query a user's balance $userBalance = $appStore->getBalance($EMAIL); // Use 5 MOBI and get the user's updated balance $userBalance = $appStore->useBalance($EMAIL, 5);
Objects
Mobius
- All main API objects are available from this classAppStore
- Methods for working with a user's balanceToken
- Methods for working with ERC20 tokens
More information
- Examples are available in the
examples
directory - For detailed response information, see the Mobius API REST documentation