PHP code example of aiweline / weline-framework
1. Go to this page and download the library: Download aiweline/weline-framework 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/ */
aiweline / weline-framework example snippets
shell
# ----示例安装命令 开始----
composer create-project aiweline/weline-framework WelineFramework --prefer-dist
php bin/w command:upgrade
# 如果要换数据库请修改app/env.php数据配置,或者安装使用命令:php bin/w system:install --db-type=mysql --db-hostname=127.0.0.1 --db-database=weline --db-username=weline --db-password=weline --db-charset=utf8 --db-collate=utf8_general_ci --sandbox_db-type=mysql --sandbox_db-hostname=127.0.0.1 --sandbox_db-database=sandbox_weline --sandbox_db-username=sandbox_weline --sandbox_db-password=sandbox_weline --db-charset=utf8mb4 --sandbox_db-collate=utf8mb4_general_ci
php bin/w setup:upgrade
php bin/w server:start # 启动框架内置服务器
# ----示例安装命令 结束----