定制 keinos/hello-world-tpl 二次开发

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

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

keinos/hello-world-tpl

Composer 安装命令:

composer require keinos/hello-world-tpl

包简介

Overly cautious HelloWorld class. See the repo for details.

README 文档

README

Build Status Coverage Status Code Quality Supported PHP Version

Super cautious "Hello-World"

This repo is an overly-cautious Hello-World PHP script for fun. It includes the following tests and CIs to just say "Hello-World!".

Tests

CIs Used

This repo uses the following CIs. On your use, register your repo first.

Using this package as a template/boilerplate

How to

How to use it as a template

TL; DR

Copy, initialize the project, smoke test, add CI's ACCESS TOKEN then you're redy-to-go!

TS; DR

  1. Create a new copy.

    Choose one of the below commands that suits you.

    • Note that you need to specify your project's name. This will be your "package name" as well.
    # For composer user with NO Docker
    composer create-project keinos/hello-world-tpl MyNewProject
    cd MyNewProject
    # For Docker and docker-compose user (No PHP nor composer user)
    git clone https://github.com/KEINOS/TPL-PHP-HelloWorld.git MyNewProject
    cd MyNewProject
  2. Initialize.

    Run the command below to initialize your project. This will re-write the package and vendor names to the provided name. (Ex. MyVendorName)

    rm -rf .git
    git init
    ./.devcontainer/initialize_package.php MyVendorName
  3. Functioning test.

    Before anything, run the tests to check it's basic test functionality.

    composer test -- --all --verbose
  4. Initial commit.

    Commit your first change.

    git add .
    git commit -m 'initial commit'
  5. Push the repo to GitHub then register it to the following CIs.

  6. Re-name COVERALLS.env.sample to COVERALLS.env under ./tests/conf.

  7. Get your access token from COVERALLS' settings and place/replace the token value in COVERALLS.env.

  8. Run tests again to see COVERALLS' function-ability.

  9. If the local test passes then commit changes and push.

  10. If the tests passes on CIs then start building your project.

Developing via Docker

This repo can be developed via Docker. Run:

composer dev

Or, if you use Visual Studio Code (a.k.a. VS Code) and have Docker, then "Remote - Containers" extension is available.

In this case, you don't need to install the packages or even PHP on your local env.

  1. Install Microsoft's "Remote - Containers" extension to your VS Code.
  2. git clone this repo to your local.
  3. Remove the .git directory and initialize as a new one by git init.
  4. Open folder in a Container by: F1 -> "Remote-Containers: Reopen in Container".

Credit

This repo was very much inspired by:

keinos/hello-world-tpl 适用场景与选型建议

keinos/hello-world-tpl 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 278 次下载、GitHub Stars 达 2, 最近一次更新时间为 2020 年 02 月 17 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 keinos/hello-world-tpl 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2020-02-17