marked-effect/github-plugin-updater
最新稳定版本:0.1.1
Composer 安装命令:
composer require marked-effect/github-plugin-updater
包简介
GitHub Updater for WordPress
README 文档
README
Installation
Install the [composer package]:
composer require marked-effect/github-plugin-updater
Example
new GHPluginUpdater\Main( __FILE__, [ 'github.user' => 'bob-moore', 'github.repo' => 'simple-menu-block', 'github.branch' => 'main', 'plugin.banners' => [ 'low' => trailingslashit( plugin_dir_url( __FILE__ ) ) . 'assets/banner-772x250.jpg', 'high' => trailingslashit( plugin_dir_url( __FILE__ ) ) . 'assets/banner-1544x500.jpg', ], 'plugin.icons' => [ 'default' => trailingslashit( plugin_dir_url( __FILE__ ) ) . 'assets/icon.png', ] ] );
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-04-07