PHP code example of gigadrive / markdown-wiki-bundle
1. Go to this page and download the library: Download gigadrive/markdown-wiki-bundle 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/ */
gigadrive / markdown-wiki-bundle example snippets
namespace App\Service;
use Gigadrive\Bundle\MarkdownWikiBundle\Service\MarkdownWikiParser;
class ExampleParser extends MarkdownWikiParser {
// TODO: Extend Parsedown
}
use Gigadrive\Bundle\MarkdownWikiBundle\Service\MarkdownWikiStorageService;
class ExampleService {
public function __construct(
protected MarkdownWikiStorageService $storageService
) {
}
public function rebuildCaches() {
$this->storageService->rebuildStorageCache();
}
}
git submodule update --init --recursive
composer install
php ./vendor/bin/phpunit