承接 goldfinch/taz 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

goldfinch/taz

Composer 安装命令:

composer require goldfinch/taz

包简介

Command Line Interface (CLI) for Silverstripe, to help and speed up development process

README 文档

README

Silverstripe Version Package Version Total Downloads License

Taz

Taz 🌪️ is the command line interface (CLI) that can assist you with the development of your Silverstripe application and save time.

Install

  1. Install module
composer require goldfinch/taz
  1. Copy taz file to the root of your project
cp vendor/goldfinch/taz/taz taz

Usage

Call Taz via console php taz 💨

List of available commands

php taz dev/build

php taz display:version
php taz display:theme
php taz display:routes
php taz display:members
php taz display:admins

php taz generate:base64-key
php taz generate:crypto-key
php taz generate:password
php taz generate:app-key

php taz make:admin # --template=(full/plain)
php taz make:command
php taz make:command-template
php taz make:config # --template=(full/plain) --plain --after=* --before=*
php taz make:controller
php taz make:extension # --fielder
php taz make:form
php taz make:helper
php taz make:include
php taz make:model # --template=(full/plain/full-fielder/plain-fielder)
php taz make:page # --template=(full/plain/full-fielder/plain-fielder)
php taz make:page-controller
php taz make:page-template
php taz make:provider
php taz make:service
php taz make:task
php taz make:trait
php taz make:view

# Commands for external modules (each command depends on its module, make sure the module is installed in your project before using the dependent command below)

# (lekoala/silverstripe-encrypt)
php taz generate:encryption-key

# (jonom/silverstripe-someconfig)
php taz make:adminconfig # --template=(full/full-fielder)

# (silverstripe/silverstripe-elemental)
php taz make:element # --template=(full/plain/full-fielder/plain-fielder)

# (silverstripe/silverstripe-elemental)
php taz make:element-template

# (silverstripe/silverstripe-crontask)
php taz make:crontask

Run dev/build in CLI

Runing php taz dev/build can throw MySQL errors. If this is your case, you probably need to specify the path to your MySQL socket. Here is how you can do that.

// you can place it to app/_config.php

use SilverStripe\Core\Environment;
use SilverStripe\Control\Director;

if (Director::isDev() && Environment::hasEnv('SS_DATABASE_SOCKET')) {
    ini_set('mysqli.default_socket', Environment::getEnv('SS_DATABASE_SOCKET'));
}

and add the var to your .env

SS_DATABASE_SOCKET="/path/to/mysql/mysql.sock"

Create custom commands

You can create your own custom commands for your application. They can be widely stored across separate modules.

php taz make:command MyCustom

Preview

Screenshot

License

The MIT License (MIT)

goldfinch/taz 适用场景与选型建议

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

它主要适用于以下技术方向: 「silverstripe」 「command-line-interface」 「silverstripe-cli」 「silverstripe-taz」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 2.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 11
  • 依赖项目数: 29
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-03