Download the PHP package theday-seeyou/web-base-temple without Composer
On this page you can find all versions of the php package theday-seeyou/web-base-temple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download theday-seeyou/web-base-temple
More information about theday-seeyou/web-base-temple
Files in theday-seeyou/web-base-temple
Package web-base-temple
Short Description Bilingual enterprise CMS and website starter built on ThinkPHP
License MIT
Homepage https://github.com/theday-seeyou/web-base-temple
Informations about the package web-base-temple
WebBase CMS
WebBase CMS 是面向企业官网的中英文内容管理系统,基于 ThinkPHP 8 和自有 Composer 核心包 theday-seeyou/web-base-core 构建。
环境要求
- PHP 8.1 或更高版本。
- MySQL 5.7 / 8.0 或兼容的 MariaDB。
- Composer 2。
- PHP 扩展:
curl、gd、iconv、json、mbstring、openssl、pdo_mysql、zlib。
创建新项目
推荐直接使用 Composer 创建独立站点:
创建本地环境配置。
Windows PowerShell:
macOS / Linux:
编辑 .env,至少填写数据库连接:
创建一个使用 utf8mb4 的空数据库:
执行初始化迁移:
启动开发服务器:
访问:
- 网站:
http://127.0.0.1:8000/ - 后台:
http://127.0.0.1:8000/admin - 初始账号:
admin - 初始密码:
admin
首次登录后应立即修改初始密码。若 8000 端口已被占用,可将 -p 8000 改为其他端口。
从 GitHub 开发
需要参与 CMS 开发时,也可以直接克隆:
然后按照上面的步骤创建 .env、数据库并执行迁移。
核心包位于独立仓库:
- GitHub:https://github.com/theday-seeyou/web-base-core
- Packagist:https://packagist.org/packages/theday-seeyou/web-base-core
CMS 始终通过正式版本依赖核心包,不使用本地 path 仓库,也不会在 Composer 安装阶段覆盖项目源码。
常用命令
WebBase Core 提供以下显式命令:
webbase:publish 默认不会覆盖已有文件。只有开发者显式传入 --force 时才允许覆盖。
生产部署
Web 服务器的站点根目录必须指向 public/。不要把 .env、源码根目录或数据库凭据暴露到公网。
项目范围
- 后台登录、权限、菜单、系统配置、文件与日志管理。
- 内容栏目基础模型。
- ThinkPHP 多语言能力。
- 后续建设页面、文章、导航、表单、SEO、模板安装与中英文内容工作流。
架构与发布流程:
- 架构说明
- 后台 CRUD、回收站与富文本编辑器
- Composer 发布说明
- 第三方声明
开源协议
项目自身代码使用 MIT License。由第三方开源项目改造的部分遵循其原始许可证,详见 THIRD_PARTY_NOTICES.md。
All versions of web-base-temple with dependencies
ext-json Version *
theday-seeyou/web-base-core Version ^0.3
topthink/framework Version ^8.0
topthink/think-migration Version ^3.0
topthink/think-orm Version ^3.0
topthink/think-view Version ^2.0