The long-term plan for all of our SDKs is to recreate the full-functionality of our HTML5 Framework.
For now, the following PHP modules exist:
- blockstrap (core)
- api (requires blockstrap and cache)
- blockauth (authentication via blockchains)
- cache (uses simple session storage)
- dnkey (support for DNKey and BlockAuth
Blockstrap core currently provides the following public functions:
- debug (prettier object prints)
- get_var (better $_POST / $_GET functionality)
The API module currently provides the following public functions:
- address (mapped to address/transactions)
- block (mapped to block)
- blocks (mapped to block/latest)
- decode (mapped to transaction/decode)
- dnkey (mapped to transaction/decode)
- height (mapped to block/height)
- market (mapped to market/stats)
- relay (mapped to transaction/relay)
- transaction (mapped to transaction/id)
The Cache Module is required for all external API calls.
The BlockAuth module currently provides the following public functions:
- check (checks the supplied transaction to verify the supplied password)
- login (basic wrapper to first collect DNKey info if supplied before checking credentials)
The API Module is required for the check function to work.
The DNKey Module s required for the login function to work.
The cache module currently provides the following public functions:
- read (read from session storage)
- write (write to session storage)
The DNKey module currently provides the following public functions:
- api (used if accessed via api module)
- get (used if from standalone include)
For more information, please visit - docs.blockstrap.com