PHP code example of sheng / yiicms
1. Go to this page and download the library: Download sheng/yiicms 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/ */
sheng / yiicms example snippets
//demo file config/db.php.default 文件
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yiicms',
'username' => 'root',
'password' => '123456',
'charset' => 'utf8',
];