rondodevs/craft-toolkit 问题修复 & 功能扩展

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

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

rondodevs/craft-toolkit

Composer 安装命令:

composer require rondodevs/craft-toolkit

包简介

Internal Craft CMS toolkit: site config overrides, KV/edge cache purge helpers, static labels and related utilities.

README 文档

README

Internal Craft CMS plugin bundling a set of control panel utilities:

  • Site Config — CP-editable overrides for site name/URL on top of env defaults, exposed via GraphQL.
  • KV Cache — settings and controls to purge an external edge/KV cache (tags or full flush) when entries/assets change.
  • Static Labels — CP-editable label overrides per site, exposed via GraphQL.
  • Misc handlers: automatic average-color calculation for image assets, a CP alert when the default GraphQL route is missing, and a site-request redirect controller.

Requirements

  • Craft CMS 5.0.0 or later
  • PHP 8.2 or later

Installation

From Packagist (once published)

composer require rondodevs/craft-toolkit

Then install the plugin in the Craft control panel, or via:

php craft plugin/install toolkit

Local development (path repository)

While developing this plugin alongside a Craft project, add a path repository to the consuming project's composer.json so Composer symlinks it instead of downloading a tagged release:

{
    "repositories": [
        {
            "type": "path",
            "url": "../../studio-fes/craft-toolkit",
            "options": { "symlink": true }
        }
    ],
    "require": {
        "rondodevs/craft-toolkit": "*"
    }
}

Adjust the url to the relative (or absolute) path to this directory, then run composer update rondodevs/craft-toolkit. Changes made here are picked up immediately in the consuming project without republishing.

Publishing to Packagist

  1. Push this repository to GitHub (e.g. github.com/rondodevs/craft-toolkit).
  2. Tag a release, e.g. git tag v1.0.0 && git push --tags.
  3. On packagist.org, submit the GitHub repository URL.
  4. Enable the GitHub Packagist webhook (Packagist "Settings" tab -> instructions, or add it manually under the GitHub repo's Settings -> Webhooks) so new tags are picked up automatically.
  5. From then on, composer require rondodevs/craft-toolkit resolves the package for anyone with access to the repository.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固