PHP code example of coysh-digital / craft-manager-connector
1. Go to this page and download the library: Download coysh-digital/craft-manager-connector 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/ */
coysh-digital / craft-manager-connector example snippets
// config/manager-connector.php
return [
'platformUrl' => 'https://manager.example.org',
];
return [
'webTrigger' => false,
];
bash
php craft manager-connector/preview
bash
php craft manager-connector/pair mgr_enrol_...
bash
php craft manager-connector/disconnect