如何在CakePHP 3上找到文件夹App和MVC

时间:2015-08-21 11:13:21

标签: cakephp cakephp-3.0

使用CakePHP 3,我找不到文件夹App和文件夹ModelViewController。 CakePHP 2有什么区别吗?这是Cakephp3

CakePHP Folder Structure

3 个答案:

答案 0 :(得分:3)

答案 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