1. Go to this page and download the library: Download railroad/maropost 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/ */
railroad / maropost example snippets
/** @var Railroad\Maropost\Services\ContactService $contactService */
protected $contactService;
public function __constructor(Railroad\Maropost\Services\ContactService $contactService){
$this->contactService = $contactService;
}
use Railroad\Maropost\Services\ContactService;
/** @var ContactService $contactService */
protected $contactService;
public function __constructor(ContactService $contactService){
$this->contactService = $contactService;
}