Skip to content

zulucrypto/mobius-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobius PHP API Client

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 class
  • AppStore - Methods for working with a user's balance
  • Token - Methods for working with ERC20 tokens

More information

About

Provides simple access to the Mobius API for applications written in PHP

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages