bedita/api-template
Composer 安装命令:
composer create-project bedita/api-template
包简介
BEdita5 API project template app
README 文档
README
This is the skeleton app to build BEdita5 API projects.
Requirements
- PHP >= 8.3
- Download latest Composer or update via
composer self-update.
Installation
Simply run
composer create-project bedita/api-template
In case you want to use a custom app dir name (e.g. myapp/):
composer create-project bedita/api-template myapp
You can now either use your machine's webserver to view the default home page, or start up the built-in webserver with:
bin/cake server
Then visit http://localhost:8765 to see the welcome page.
Configuration
Review and edit accordingly every configuration item in config/app_local.php.
Make sure at least Datasources points to the desired DB instance.
Namespace
You need to manually change the default MyApp namespace in order to use a custom one (recommended before any application logic is introduced).
Files referencing MyApp are:
composer.jsonbin/cake.phpconfig/app.phpor override inconfig/app_local.phpsrc/Console/installer.phpsrc/Shell/ConsoleShell.phpApplication.php(andtest/TestCase/ApplicationTest.php)webroot/index.php
Make sure to launch composer dump-autoload after this manual change in order to update autoloader data
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-20