PHP code example of dpwlabs / yii2-markdown-pages
1. Go to this page and download the library: Download dpwlabs/yii2-markdown-pages 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/ */
dpwlabs / yii2-markdown-pages example snippets
'modules' => [
'pages' => [ // name this module what you like
'class' => \dpwlabs\MarkdownPages\Module::className(),
'pages' => '@frontend/views/markdown/pages',
'drafts' => '@frontend/views/markdown/drafts',
]
],