Get Started
Reference for the Magic Admin SDK for PHP: https://github.com/magiclabs/magic-admin-php
important
Our Laravel SDK magic-laravel
is released now.
๐ Magic Laravel SDK
Overview
The Magic SDK for server-side PHP makes it easy to leverage Decentralized ID Tokens to authenticate your users for your app. This guide will cover some important topics for getting started with server-side APIs and to make the most of Magic's features.
Install the Magic Admin SDK to get started
View the API documentation below to learn the methods you'll be using
Go to Examples for an introduction to common patterns and use-cases
note
Looking for a client-side API instead? Check out:
Installation
Current SDK is built with PHP 5.6.0 and later.
- Composer
To use the bindings, use Composer's autoload:
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
Creating an SDK Instance
To instantiate: