klsoft/yii3-cms
最新稳定版本:1.0.0
Composer 安装命令:
composer create-project klsoft/yii3-cms
包简介
A content management system based on the Yii 3 framework and uses the Doctrine ORM
关键字:
README 文档
README
It is a content management system based on the Yii 3 framework and uses the Doctrine ORM.
Features
- Create and manage pages, posts, and navigation.
- Design SEO-friendly URLs.
- Manage permissions.
Requirements
- PHP 8.2 - 8.5.
How to use
- Create a new project from a template using the Composer package manager:
composer create-project klsoft/yii3-cms my_site
cd my_site
- Configure the Doctrine connection in the
config/common/params.php. - Create and initialise the database schema:
./yii init
- To run the application:
./yii serve --port=8383
Open your browser to the URL http://localhost:8383
How to use with Docker
- Clone the repository.
- Uncomment the line
'host' => 'mysql'in theconfig/common/params.php - Start the application:
docker compose up -d
- Create and initialise the database schema:
docker compose run --rm app ./yii init
Open your browser to the URL http://localhost:8383
The following the Doctrine console commands are currently available:
- doctrine:orm:schema-tool:create
- doctrine:orm:schema-tool:drop
- doctrine:orm:schema-tool:update
- doctrine:orm:validate-schema
- doctrine:orm:mapping-describe
- doctrine:orm:generate-proxies
- doctrine:orm:run-dql
- doctrine:orm:info
- doctrine:orm:clear-cache:metadata
- doctrine:orm:clear-cache:query
- doctrine:orm:clear-cache:result
- doctrine:dbal:run-sql
Display help for a command:
./yii <command> --help
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-02