答案 0 :(得分:3)
CakePHP 3.x现在使用PSR-4
http://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html#application-directory-layout
您应该阅读迁移指南 http://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html
这也很有用 http://book.cakephp.org/3.0/en/intro/cakephp-folder-structure.html
答案 1 :(得分:2)
检查你的src文件夹。 CakePHP的src文件夹是您进行大部分应用程序开发的地方。 Cookbook
答案 2 :(得分:0)
现在安装cakephp的最佳方法是composer:
composer create-project --no-dev cakephp / app。
CakePhp文件夹结构
config
logs
plugins
src - this is app folder, contains Controller, Model, View
tmp
vendor
aura - cake core dependency
cakephp
cakephp - cakephp core
chronos - cake core dependency (used for datetime functions)
composer
mobiledetect - cake core dependency
psr
zendframework - cake core dependency
webroot
css
favicon.ico
font
img
js