1. Go to this page and download the library: Download remp/campaign-module 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/ */
remp / campaign-module example snippets
return "my-provider";
return [
[
'name' => String, // user friendly label
'provider' => String, // should be same as result of provider()
'code' => String, // machine friendly name, slug
'group' => [
'id' => Integer, // ID of segment group
'name' => String, // user friendly label of group
'sorting' => Integer // sorting index; lower the number, sooner the group appears in the list
]
],
];