daison/essential 问题修复 & 功能扩展

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

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

daison/essential

Composer 安装命令:

composer require daison/essential

包简介

Your one stop base-code builder

README 文档

README

Easier way to build a base code dedicated to your company!

How it Works

Sometimes you built the same directory structure, or you customized your own project; as the time goes by, you will do the same thing with future projects. The problem here, you always do copy pasting of your base code, yet you can do it using this package.

Install

> composer require daison/essential --dev

Generate Config

To generate a config, you have to call

> ./vendor/bin/essential init

The above command should generate a file called essential.json, the file contains these keys

  • template
    • The template folder to use
  • build_path
    • The temporary build path to use
  • replace
    • the variables you will provide
  • scripts
    • before
      • the scripts you would like to run before it will execute the replacer
    • after
      • the scripts you would like to run after the replacer was executed

What it does:

  • a VARIABLE based replacer to your own templates
  • On your template folder, it actually iterates all the files; let us say you have AUTHOR_NAME inside your config and all files that has {AUTHOR_NAME} will be replaced.
  • You can put bash scripts in it as a json, as long as you follow the rules of json format!

Where should you use it?

  • Most probably creating your own project installer.
  • Write your own base code dedicated to all your projects.

Missing Implementations:

  • Unit testing is still ongoing and will add this in the TravisCI.org
  • Sample way thru a Video Recorded (Will do later)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固