定制 asddaniel/conception 二次开发

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

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

asddaniel/conception

Composer 安装命令:

composer require asddaniel/conception

包简介

package for conception without code writter

README 文档

README

The framework for generate code

N|Solid

Build Status

Concept is a framework for generate code with a json config file. the basis of any software developer is not to repeat oneself (DRY principle), concept is a framework that exploits this principle harshly, namely to write configurable application templates for each new project. the framework is built in php for the moment, but aims to be built in different programming languages, the author is counting on the contributors to build a new way of designing applications by gaining productivity while focusing on the conceptual aspects.

Features

The framework is based on the following concepts:

  • creation of commands to generate codes
  • exploitation of configuration files in json
  • Generating of code and template of application following a json config file

License

GNU General Public License (GPL) version 2

Getting started

concept is based on the creation of application templates that can be generated according to customizable configurations by each developer. in this version Daniel Assani has created a laravel api template. if you are interested, you can contribute by adding another application template or by improving the existing templates

to start using the framework you must clone or fork the example project on github you must start by cloning the starter project on github, this project contains all the elements necessary to load and use the base library that will generate your application. this starter project only contains the tools needed to generate the Laravel api application template the link for the repository is here

composer create-project asddaniel/conception app

this will create a new concept project in a directory "app".

once install the next step is to use basic commands to generate your application inside th e directory app. the project contains a folder named manifest, you will find there a file named LaravelManifest.json, all the configuration of your application must be written in this file, the program will interpret the data above in order to generate the application

Commands and uses

the example configuration file contains an example of the minimal configuration to be done. all parameters are optional, but the data format must be respected to guarantee a functional application

example config file { "name":"AppLaravel", "finalize":"true", "output_dir": "test2", "database":{ "db_name":"test", "username":"root", "password":"" }, "models":{ "Article":{"attributes": {"title":"string", "content": "string", "onLine":"boolean"}, "fillable":["title", "content"] }, } }

once the file is configured you can start the command if you are under windows start the command with the word execute

execute

the command Line will ask you to enter a command then you must give :

create laravel-api

if you are under linux or Mac start only the phpcommand (you must ensure that php is installed and it is present in the path whether you are under windows or linux)

php phpcommand create laravel-api

if you have correctly filled your configuration file in json and you have chosen to start the application immediately, the whole application will be generated and you can already go to the browser and test the api endpoints under localhost and port 8000

Dependency

this project uses package of nette "php-generator" as well as nikik's php-parser

asddaniel/conception 适用场景与选型建议

asddaniel/conception 是一款 基于 Batchfile 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 01 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 asddaniel/conception 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 asddaniel/conception 我们能提供哪些服务?
定制开发 / 二次开发

基于 asddaniel/conception 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-15