moritzebeling/kirby-panel-button
Composer 安装命令:
composer require moritzebeling/kirby-panel-button
包简介
Kirby panel button field to open or trigger some URL or webhook
关键字:
README 文档
README
Custom Kirby Panel field, that displays a button that can be used to either open a URL in a new tab or to trigger some url or webhook and wait for success or error. This can be very helpful, when you have content that can be viewed or edited on some external service or domain.
Installation
composer require moritzebeling/kirby-panel-button composer update moritzebeling/kirby-panel-button
Or download/clone this repo into site/plugins of your Kirby project.
If you’re working on a plugin which requires this plugin:
cd site/plugins/your-plugin
composer require moritzebeling/kirby-panel-button
Usage
myLinkButton: type: button label: Open URL in new tab text: Open # Button text url: "https://example.com/{{ page.slug }}" icon: edit open: true # open URL in new tab myWebhookButton: type: button label: Refresh data text: Refresh url: /fetch-data theme: positive reload: true # trigger a page refresh on success to display updated data
Development
- Install a fresh Kirby StarterKit
cd site/pluginsgit clonethis repocdinto this plugin folder
npm run dev
Roadmap
- Add multilang support
- Refactor and simplify yml field configuration
- Add a buttons section that allows to add some text and multiple buttons
- Option to display result in dialog popup
☕️ Support
If you like this plugin, I would be glad if you would invite me for a coffee via PayPal If you have any ideas for further development or stumble upon any problems, please open an issue or PR. Thank you!
Warranty
This plugin is work in progress and comes without any warranty. Use at your own risk.
moritzebeling/kirby-panel-button 适用场景与选型建议
moritzebeling/kirby-panel-button 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 823 次下载、GitHub Stars 达 22, 最近一次更新时间为 2022 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「plugin」 「panel」 「blueprint」 「trigger」 「field」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 moritzebeling/kirby-panel-button 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 moritzebeling/kirby-panel-button 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 moritzebeling/kirby-panel-button 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Yii2 panel widget
A Laravel Admin Package for The Control Group to make your life easier and steer your project in the right direction
ServerPilot: the best way to run PHP websites.
Plugin for YOURLS. Default tools to use in some laemmi plugins
Alfabank REST API integration
统计信息
- 总下载量: 823
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-18
