PHP code example of jasonweicn / miniframework
1. Go to this page and download the library: Download jasonweicn/miniframework 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/ */
jasonweicn / miniframework example snippets
/**
* 应用入口
*/
// 应用命名空间
const APP_NAMESPACE = 'App';
// 是否显示错误信息
const SHOW_ERROR = false;
// 是否启用布局功能(默认值:false)
const LAYOUT_ON = true;
// 兼容多平台的目录分隔符
const DS = DIRECTORY_SEPARATOR;
// 引入 MiniFramework 就是这么简单