Skip to content

Repository files navigation

release license size

English | 简体中文

Introduction

UsualTool Framework (UT) is a multi terminal development framework based on PHP, suitable for building various types of applications.

Schematic diagram

Difference from traditional MVC
schematic

Environment

Install the necessary components in the root directory of the framework: composer require usualtool/ut-lib.
Support Nginx/Apache/IIS.
Support PHP7+ and other known upward distributions.

Security

install-dev is the installation directory of visual package on the development side. If visualization is not required, please delete this directory after deploying UT.

system architecture

┌─── 📁app 应用开发目录 core
├────├─── 📁modules 模块 Module
├────├────└───ut-frame 公共模块(示例)
├────├─────────├─assets 临时资源包
├────├────├────├─lang 模块语言包 Language
├────├────├────├─cache 缓存编译 Cache
├────├────├────├─front 前端控制 Client control
├────├────├────├─admin 后端控制 Admin control
├────├────├────├─skin 视图 View
├────├────├────├────├─admin 后端视图 Admin view
├────├────├────├────└─front 前端视图 Client view
├────├────├────├─model 模型 Model
├────├────├────├─controller 独立控制器 Controller
├────├────├────├─route.php 文件映射配置
├────├─────────└─usualtool.config 模块配置 Configure
├────├─── 📁plugins 插件 Plugin
├────├────└───插件名称
├────├─────────├─assets 临时资源包
├────├─────────├─plugin.php 插件模型
├────├─────────└─usualtool.config 插件配置 Configure
├────├─── 📁share 共享命名空间 Namespace
├────├─── 📁task 计划任务 Crontab
├────└─── 📁template 模板工程 Formwork
├─────────└───模板名称
├──────────────├─assets 临时资源包
├──────────────├─move 覆盖控制&模型
├──────────────├─skin 视图 View
├──────────────├───├─ut-frame 公共模块视图
├──────────────├───├────├─admin 后端视图 Admin view
├──────────────├───├────├─cache 缓存 Cache
├──────────────├───├────└─front 前端视图 Client view
├──────────────├───└─其他模块视图
├──────────────└─usualtool.config 模板配置 Configure
├─── 📁log 框架日志 Log
├─── 📁open 应用根目录(开放访问)
├────├─── 📁assets 静态资源 Resource
├────├─── 📁lang 全局语言包 Language
├────├─── index.php 应用控制器
├────├─── plugin.php 插件控制器
├────├─── route.php 模块映射配置
├────└─── config.php 业务配置
├─── 📁update 更新包目录 Update
├─── 📁vendor 依赖库目录
├─── .ut.config 全局配置 Global configuration
├─── .version.ini 框架版本 Version
├─── autoload.php 自动加载
├─── bootstrap.php 全局引导
└─── usualtool 命令行服务端 Command line

About

UsualTool Framework (UT) is a multi terminal development framework based on PHP, suitable for building various types of applications.

Topics

Resources

Stars

380 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages