1. Go to this page and download the library: Download lyseontech/ojs-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use OjsSdk\Services\OJSService\Users\OJSUserService;
$OjsClient = new OJSUserService();
$OjsClient->changePassword('jhonusername', '123password');
use OjsSdk\Services\OJSService\Users\OJSUserService;
$OjsClient = new OJSUserService();
$uniqueUsername = $OjsClient->getUniqueUsername('jhonusername', '123password');
use OjsSdk\Services\OJSService\Users\OJSUserService;
$OjsClient = new OJSUserService();
$loginResponse = $OjsClient->login('jhonusername', '123password');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.