定制 matczar/wp-cli-freemius-toolkit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

matczar/wp-cli-freemius-toolkit

Composer 安装命令:

composer require matczar/wp-cli-freemius-toolkit

包简介

Freemius developer toolkit

README 文档

README

This WP-CLI package allows you to manage the plugin on your Freemius account.

Install

Requirements

  • PHP >= 7.3
  • WP-CLI >= 2.4.0

Via WP-CLI Package Manager (requires wp-cli >= 2.4.0)

Just run wp package install matczar/wp-cli-freemius-toolkit

Configuration

  • Create a .freemius file containing the developer ID along with the API access keys in the folder with the global WP-CLI configuration (use wp cli info command to check the path of this folder). All this data can be obtained on your profile page in the Freemius dashboard.
FS__API_DEV_ID=
FS__API_PUBLIC_KEY="pk_example_public_key"
FS__API_SECRET_KEY="sk_example_secret_key"
  • In the plugin folder you want to manage, create a .freemius.yml file containing your Freemius plugin ID and a list of files and folders to be sent to the API when creating the new plugin version. The plugin ID can be found on the page with its Settings.

Example of .freemius.yml file:

plugin_id: 123456789
include:
  - assets
  - includes
  - my-plugin.php
  - readme.txt

Using

This package implements the following commands:

wp freemius-toolkit version

Lists, deploys and delete plugin versions.

wp freemius-toolkit version list

List plugin versions.

wp freemius-toolkit version list [--count=<count>] [--fields=<fields>] [--format=<format>]

wp freemius-toolkit version deploy

List plugin versions.

wp freemius-toolkit version deploy [--local] [--add-freemius-contributor] [--force]

wp freemius-toolkit version download

Download plugin version.

wp freemius-toolkit version download <id>... [--premium] [--file=<file>]

wp freemius-toolkit version delete

Delete an existing version.

wp freemius-toolkit version delete <id>... [--yes]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固