craftpeak/acf-untappd-beer
Composer 安装命令:
composer require craftpeak/acf-untappd-beer
包简介
This is a custom field for ACF which adds an AJAX-powered Untappd Beer Picker.
关键字:
README 文档
README
This is a custom field for ACF (version 5.6.0 or later only) which adds an AJAX-powered Untappd Beer Picker.
It uses Select2's AJAX functionality on search to grab 5 beers from the Untappd API and displays them as options. Once selected, the selected Beer's ID is saved to the database for later use as you see fit. On field init, if there is a value saved, it grabs the selected beer from the API to display a friendly name (Brewery Name & Beer Name).
Requirements
- ACF Pro v5.6.0+ (Select2 v4 is required and was made default in this update)
- PHP 7+ (not actually, but don't be that person)
- Untappd App API Keys (Client ID and Client Secret)
Installation
composer require craftpeak/acf-untappd-beer
(or do it the old fashioned way, I guess)
Setup
The field REQUIRES the Untappd Keys, and will not work without them. You can provide them one of two ways:
- Enter them into the field's settings (when you add it to the field group)
- Provide 2 constants in your
wp-config.php(or if you're using Bedrock you can put the keys in your.env, with proper hookup code in yourapplication.phpfile):
// Untappd API Keys define('UNTAPPD_CLIENT_ID', 'xxxxxxxxxxxx'); define('UNTAPPD_CLIENT_SECRET', 'xxxxxxxxxxxx');
craftpeak/acf-untappd-beer 适用场景与选型建议
craftpeak/acf-untappd-beer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 378 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 07 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wordpress」 「acf」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 craftpeak/acf-untappd-beer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 craftpeak/acf-untappd-beer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 craftpeak/acf-untappd-beer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Simple set of helper functions for ACF Fluent auto-loaded with Composer using generic function names.
Drag and drop file upload for ACF-Fields.
Register advanced custom fields with object oriented PHP
Post type selector for Advanced Custom Fields.
A Gutenberg like color palette field for ACF.
An install helper for Advanced Custom Fields PRO
统计信息
- 总下载量: 378
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2018-07-23
