ozee31/cakephp-starter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ozee31/cakephp-starter

Composer 安装命令:

composer create-project ozee31/cakephp-starter

包简介

CakePHP skeleton app

README 文档

README

Build Status License

A skeleton for creating applications with CakePHP 3.x.

The framework source code can be found here: cakephp/cakephp.

Installation

CakePHP

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project --prefer-dist ozee31/cakephp-starter [app_name].

If Composer is installed globally, run

composer create-project --prefer-dist ozee31/cakephp-starter [app_name]

You should now be able to visit the path to where you installed the app and see the default home page.

Front

Run npm install

Configuration

Read and edit config/app.php and setup the 'Datasources' and any other configuration relevant for your application.

Front

Architecture

  • /front/build/* : webpack configuration
  • /front/src/* : all front sources (es2015 + scss...)

Debug mode

Run webpack web server with the command npm run dev

Deployment

Run npm run build and change debug mode in app.php

Subdirectory configuration

For exemple if url access is /subdir/ instead of /

change in config/app.php :

'Webpack' => [
  'assets' => [
    'dev' => 'http://localhost:3003/subdir/app.js',
    'config' => 'assets.json',
  ],
],

and in front/build/config.js

assets_url: '/subdir/'

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固