1. Go to this page and download the library: Download cammanderson/mmb 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/ */
class MyArticleService extends AbstractArticleService
{
public function getArticle($key)
{
// TODO: Implement your own method to locate the article
$articleContents = '...';
// Create the article
$article = $this->provider->provide($key, $articleContents);
// ... Apply further properties your Service supports
// Return
return $article;
}
}