phppack/phppack

phppack PHP phppack class.

v2.0.1 2018-12-19 06:38 UTC

This package is auto-updated.

Last update: 2021-12-22 13:34:43 UTC


README

项目介绍

THIS7 PHP 开发框架 为有吧网络科技有限公司 内部开发专用框架 框架开源使用 框架用于API及VUE MMVVM模式进行项目开发 {以下是码云平台说明,您可以替换为您的项目简介 框架以及提交packagist可通过composer进行项目部署 https://gitee.com/this7/app}

安装教程

安装框架: composer create-project this7/app my-project --prefer-dist

版本说明

  1. v3.5.0 转码云初始版本

参与贡献

  1. qinuoyu
  2. 远方
  3. wiki

路由配置

routes::post('/phppack/build/{id}', function ($id) {
    \phppack\phppack\phppack::build($id);
});

routes::post('/system/view/agency', function () {
    request::agency();
});

routes::post('/phppack/compile/save', function () {
    \phppack\phppack\phppack::compile('save');
});

routes::get('/phppack/compile/{id}', function ($id) {
    \phppack\phppack\phppack::compile($id);
});

routes::get('/', function () {
    \phppack\phppack\phppack::compile("display");
});

备注:如果使用其他第三方路由 请参考地方路由配置

1.0版本一下配置

{
    "name": "demo",
    "version": "1.0.0",
    "description": "A Vue.js project",
    "author": "qinuoyun <qinuoyun@qq.com>",
    "entry":
    {
        "app": "./src/main.js"
    },
    "dependencies":
    {
        "vue": "^2.5.2",
        "ui": "^2.5.2",
        "phprouter": "^2.5.2",
        "moment": "^2.5.2",
        "vue-router": "3.0.2",
        "velocity-animate": "^2.5.2",
        "vue-focus": "^2.5.2",
        "dayjs": "2.3.2",
        "china": "1.0.0",
        "echarts": "1.0.0",
        "macarons": "1.0.0",
        "highlight": "^9.12.0",
        "marked": "^0.4.0",
        "dragging":"1.23.0",
        "vuescroll":"1.1.1"
    },
    "phprouter":
    {
        "pages": "./src/pages"
    },
    "build":
    {
        "template": "app.html",
        "url": "",
        "path": "static",
        "pack":"dist",
        "check": false
    },
    "lock":
    {
        "ui": "./src/ui/index.js",
        "phprouter": "./src/phprouter/index.js"
    }
}