PHP code example of quarkcms / quark-cms

1. Go to this page and download the library: Download quarkcms/quark-cms 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/ */

    

quarkcms / quark-cms example snippets

 bash
# 第一步,安装依赖
composer install

# 第二步,运行下面的命令安装
php artisan quarkadmin:install

# 第三步,然后填充数据
php artisan db:seed
 php
// 将 strict 改为 false
'strict' => false,
// 将 engine 改为 'InnoDB'
'engine' => 'InnoDB',
 bash
php artisan serve