定制 puneetxp/the_template_php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

puneetxp/the_template_php

最新稳定版本:0.0.4.24

Composer 安装命令:

composer require puneetxp/the_template_php

包简介

PHP template for The framework

README 文档

README

Roadmap to compile in multiple Languages Roadmap to be decide.

First Step

Go to App/Karl/setup/model/ where is json you can create new json file accordingly

{
    "name": "user",//MODEL NAME
    "table": "users",//TABLE NAME
    "crud": ["c", "r", "u","d"],//CREATE UPDATE READ DELETE
    "data": [{
            "name": "password",//name of database
            "mysql_data": "varchar(255)",//mysql database
            "sql_attribute": "NULL",//mysql sql_attribute 
            //if there is no sql_attribute then it is NOT NULL so you can skip it
            "datatype": "string"//for interface file
        }],
    "roles": {
        "read": ["admin"],//roles allow to read
        "update": ["admin"],//roles allow to update
        "write": ["admin"],//roles allow to write
        "delete": ["-"]//roles allow to delete
    }
}

Then Run App/Karl/setup/autosetup.php

That will create Controller, Routes, Model, Also Interface in typesript for your front end

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-01-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固