tgmpa/tgm-plugin-activation
Composer 安装命令:
composer require tgmpa/tgm-plugin-activation
包简介
TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).
README 文档
README
Lead Developers:
Thomas Griffin (@jthomasgriffin), Gary Jones (@GaryJ), Juliette Reinders Folmer (@jrf_nl)
Version: 2.6.1
Requires at least: 3.7.0
Tested up to: 4.5.2
Description
TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
Installation
- Generate a customized version of the latest version of TGMPA based on your intended use-case using the Custom TGMPA Generator.
- Extract the class file and place it somewhere in your theme hierarchy.
- Add a
require_oncecall withinfunctions.php(or other file) referencing the class file. - Create a function, hooked to
tgmpa_register, that registers the plugin and configurations.
For steps 3 and 4, it is recommended you view, copy and paste the contents of example.php
and amend to suit. The example.php file is a model for how you should include the class in your theme.
Detailed documentation on how to configure TGMPA is available on the website.
We strongly recommend the use of the Custom TGMPA Generator if you intend to use TGMPA in a theme which is to be published via WordPress.org or Themeforest.
The generated customized version of TGMPA will comply with the Theme Review guidelines and Theme Check.
Composer
TGM Plugin Activation is also available as a package installable via Composer:
composer create-project tgmpa/tgm-plugin-activation --no-dev
Frequently Asked Questions
See the FAQ page.
Feedback
See https://github.com/TGMPA/TGM-Plugin-Activation/issues for current issues and the guidelines for reporting bugs and enhancements.
Note: TGM Plugin Activation library authors are not responsible for the end-user support for any plugin or theme which uses the library.
Changelog
See CHANGELOG.md.
Contributing to TGM Plugin Activation
If you have a patch, or stumbled upon an issue with TGM Plugin Activation core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.
tgmpa/tgm-plugin-activation 适用场景与选型建议
tgmpa/tgm-plugin-activation 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 230.37k 次下载、GitHub Stars 达 1.76k, 最近一次更新时间为 2015 年 05 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugins」 「theme」 「library」 「wordpress」 「activation」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tgmpa/tgm-plugin-activation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tgmpa/tgm-plugin-activation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tgmpa/tgm-plugin-activation 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Inbox pattern process implementation for your Laravel Applications
A Bootstrap 4.x base theme for SilverStripe
Lucency Theme
Core library that defines common interfaces used by the rest of the intahwebz..
Amqp classes
Selectize Theme for Bootstrap 4
统计信息
- 总下载量: 230.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1774
- 点击次数: 23
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-05-06