Skip to content

murnieza/App42_PHP_SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App42_PHP_SDK

  1. [Register] (https://apphq.shephertz.com/register) with App42 platform.
  2. Create an app once you are on Quick start page after registration.
  3. If you are already registered, login to [AppHQ] (http://apphq.shephertz.com/register/app42Login) console and create an app from App Manager Tab.

Download And Set Up SDK :-

1). [Download] (https://github.com/shephertz/App42_PHP_SDK/archive/master.zip) PHP SDK

2). Unzip downloaded Zip file. Unzip folder contains version folder of source code and sample folder.

3). Version folder will contain source code file.

4). Include all these source code file in your project.

5). Build and Run.

Initializing SDK :- You have to instantiate App42API by putting your ApiKey/SecretKey to initialize the SDK.

App42API::initialize("API_KEY","SECRET_KEY"); 

Using App42 Services :- you have to build target service that you want to use in your app. For example, User Service can be build with following snippet. Similarly you can build other service also with same notation.

$userService = App42API::buildUserService(); 
//Similarly you can build other services like App42API::buildXXXXService()

For curl settings:

i. Open php.ini and search with keyword "curl".
ii. Remove ";" before extension=php_curl.dll

About

App42 Cloud API Client SDK files for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%