arnaud-ritti/gravityforms-installer
Composer 安装命令:
composer require arnaud-ritti/gravityforms-installer
包简介
A modern maintained install helper for Gravity Forms
README 文档
README
A composer plugin that makes installing Gravity Forms with composer easier.
It reads your 🔑 Gravity Forms key from the environment or a .env file.
Usage
This plugin is compatible with Both Composer 2.x (latest) and 1.x
1. Add our Gravity Forms Composer Bridge repository to the repositories field in composer.json
This repository simply provides a periodically updated packages.json, that redirects composer to the provided downloads. Note that this repository does not provide any Gravity Forms packages itself, it only tells Composer where it can find packages. Secondly it is important to note that your license key is not submitted to the repository, since the installer downloads the zip files directly from servers.
Why this repository?
Since it enables you to use gravityforms/gravityforms package with version constraints like any normal Packagist package.
{
"type": "composer",
"url": "https://arnaud-ritti.github.io/gravityforms-composer-bridge/composer/v1/wordpress-plugin/"
}
This installs the package as wordpress-plugin type, in case you want a different type, use the following URL:
wordpress-muplugin:
https://arnaud-ritti.github.io/gravityforms-composer-bridge/composer/v1/wordpress-muplugin/
wpackagist-plugin:
https://arnaud-ritti.github.io/gravityforms-composer-bridge/composer/v1/wpackagist-plugin/
library:
https://arnaud-ritti.github.io/gravityforms-composer-bridge/composer/v1/library/
2. Make your key available
There are 3 ways to make the GRAVITYFORMS_KEY available:
- Using the GRAVITYFORMS_KEY environment variable
.envfile- Setting
gravityforms-keyin$COMPOSER_HOME/config.json
Select the one that best matches your setup:
2.a Using the GRAVITYFORMS_KEY Environment variable
Set the environment variable GRAVITYFORMS_KEY to your Gravity Forms key.
2.b Use a .env file
Alternatively you can add an entry to your .env file:
# .env (same directory as composer.json) GRAVITYFORMS_KEY=Your-Key-Here
2.c. Setting the key in $COMPOSER_HOME/config.json
You specify the gravityforms-key in the config section of your $COMPOSER_HOME/config.json
{
"config": {
"gravityforms-key": "Your-Key-Here"
}
}
$COMPOSER_HOMEis a hidden, global (per-user on the machine) directory that is shared between all projects. By default it points toC:\Users\<user>\AppData\Roaming\Composeron Windows and/Users/\<user\>/.composeron macOS. On *nix systems that follow the XDG Base Directory Specifications, it points to$XDG_CONFIG_HOME/composer. On other *nix systems, it points to/home/\<user\>/.composer.
3. Require Gravity Forms
composer require gravityforms/gravityforms
3.b. Install add-on
composer require gravityforms/<slug>
Example :
composer require gravityforms/activecampaign
arnaud-ritti/gravityforms-installer 适用场景与选型建议
arnaud-ritti/gravityforms-installer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.34k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 05 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「composer」 「wordpress」 「wp」 「env」 「pro」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 arnaud-ritti/gravityforms-installer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 arnaud-ritti/gravityforms-installer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 arnaud-ritti/gravityforms-installer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
Simple ASCII output of array data
Plugin for YOURLS. Default tools to use in some laemmi plugins
Generate a Composer repository from installed WordPress plugins and themes.
统计信息
- 总下载量: 3.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-11