Skip to content

phonetworks/graphjs-lib-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphJS-PHP

GraphJS-PHP is a PHP client-side library to use the features of GraphJS.

Usage

use Pho\GraphJS\GraphJS;
use Pho\GraphJS\GraphJSConfig;

$publicId = 'AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE';
$host = 'https://your-graphjs-host.com';

$config = new GraphJSConfig([
    'public_id' => $publicId,
    'host' => $host,
]);

$graphJS =  new GraphJS($config);

$data = $graphJS->login('username', 'password');
if ($data['success']) {
    // do something on successful login
}

License

MIT, see LICENSE.

About

Access GraphJS via PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages