PHP code example of skeeks / cms-module-reviews2
1. Go to this page and download the library: Download skeeks/cms-module-reviews2 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/ */
skeeks / cms-module-reviews2 example snippets
'components' =>
[
'reviews2' => [
'class' => '\skeeks\cms\reviews2\components\Reviews2Component',
]
],
'i18n' => [
'translations' =>
[
'skeeks/reviews2' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/reviews2/messages',
'fileMap' => [
'skeeks/reviews2' => 'main.php',
],
]
]
],
'modules' =>
[
'reviews2' => [
'class' => '\skeeks\cms\reviews2\Module',
]
]
php composer.phar