goldfinch/html-snippets
Composer 安装命令:
composer require goldfinch/html-snippets
包简介
Create custom HTML snippets and use them across your project via TinyMCE plugin. Easy to manage and customize as many snippets as you need
README 文档
README
Create custom HTML snippets and use them across your project via TinyMCE plugin. Easy to manage and customize as many snippets as you need.
Install
1. Install module
composer require goldfinch/html-snippets
Available Taz commands
If you haven't used Taz🌪️ before, taz file must be presented in your root project folder cp vendor/goldfinch/taz/taz taz
Create HTML Snippet
php taz make:html-snippet
Create new HTML Snippet template
php taz make:html-snippet-template
How to create a new HTML Snippet
1. Create HTML Snippet
Use Taz🌪️ to generate new HTML Snippet. It will quickly lead you through the setup and take care of it for you.
php taz make:html-snippet
2. Customise created HTML Snippet component
Taz creates HTMLSnippet object in App\Components. You can make changes, add relationships, db fields, and so on to eventually prepare your snippet.
3. Add HTML Snippet in CMS
Go to /admin/html-snippets and add HTML Snippet. In the Component type we need to select our HTML Snippet component that we recently created.
Usage
This module adds TinyMCE plugin to the default HTML editor (look for a diamond icon in its toolbar). It manages all available snippets in your project. Use it to insert your HTML snippets into the content.
License
The MIT License (MIT)
goldfinch/html-snippets 适用场景与选型建议
goldfinch/html-snippets 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 44 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 03 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「html-blocks」 「html-snippets」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 goldfinch/html-snippets 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 goldfinch/html-snippets 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 goldfinch/html-snippets 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Analytics chooser extensions for site settings.
CitaNZ's SilverStripe picture object and field for SilverStripe 4
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
Allows you to defined CMS form structure via config.yml
A module for adding a podcast or multiple podcasts to your SilverStripe site. With support for audio, video or other files.
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 26
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-07