承接 humanmade/hm-juicer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

humanmade/hm-juicer

Composer 安装命令:

composer require humanmade/hm-juicer

包简介

Integrates with Juicer API for social feeds and allows accessible display of social media content.

README 文档

README

Human Made Logo

Juicer.io logo HM Juicer

Integrates with Juicer API for social feeds and allows accessible display of social media content.

Installation

With Git

Step 1

cd into your desired directory (either wp-content/plugins or wp-content/mu-plugins) and clone the repository locally.

git clone git@github.com:humanmade/hm-juicer.git

With Composer

Install the plugin via composer.

composer require humanmade/hm-juicer

Vendor packages are installed as WordPress plugins and will need to be activated manually from the Plugins page (or explicitly loaded if installing as a mu-plugin).

For both: Configure environment

You may want to define environment variables that define your Juicer account and your site name and URLs. All of these are optional, but if any of them are not defined, a Settings page will appear in your admin to define these settings.

Step 1

Add the Juicer feed name to the wp-config.php file via the JUICER_ID constant.

define( 'JUICER_ID', 'myaccountname' );

This is the ID that is used in your Juicer feed URL, e.g. https://www.juicer.io/feeds/myaccountname.

Step 2

Define your site name. This will affect how links appear in the Juicer feed.

define( 'JUICER_SITE_NAME', 'My Cool Site' );

Step 3

Add the Juicer long and short URLs. This is used to determine links that are coming from your site.

Note: While the short URL is intended for URL shorteners like a custom URL or a service like bit.ly, this can be any URL that links back to your site.

define( 'JUICER_SHORT_URL', 'short.url' );
define( 'JUICER_LONG_URL', 'mydomain.com' );

For both: Install dependencies

There are a number of dependencies that need to be installed if you are going to be using the Juicer plugin for development. At this time, this also needs to be done if you are not defining the constants above. To do this, cd into the directory and run the setup command.

npm run setup

Usage

To add the Juicer feed to a page, simply use the function juicer_feed in your template with the correct number of posts to display (and optionally, the page to display from). Documentation on the juicer_feed function is available in the inc/README.md file.

Credits

Created by Human Made to render and display accessible social media feeds via the Juicer API.

Maintained by Chris Reynolds.

Contributors:

This plugin depends on these libraries/technologies by some awesome developers:

Contributing

If you want to contribute, you'll need to get your local environment setup. We've provided an easy setup script to get all the NPM dependencies and any required Composer dependencies installed. Simply run the following command after checking out the repository and cding into it:

npm run setup

In order to run unit tests locally, you'll need to make sure that you have a local version of PHP and MySQL/MariaDB installed (or run inside a virtual machine/Docker container). If your machine meets the requirements, you can run this command to get unit tests set up in your environment:

npm run setup:tests

(This is not run as part of the normal setup script because not every environment will support it.)

The development process follows the standard Human Made development process.

Here's a quick summary:

  • Assign issues you're working on to yourself.
  • Work on a branch per issue, something like name-of-feature. One branch per feature/bug, please.
  • File a PR early so it can be used for tracking progress.
  • When you're finished, mark the PR for review by labelling with "Reviewer Needed".
  • Get someone to review your code, and assign to them; if no one is around, the project lead can review.

Made with ❤️ by Human Made

humanmade/hm-juicer 适用场景与选型建议

humanmade/hm-juicer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 47 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 11 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 humanmade/hm-juicer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 humanmade/hm-juicer 我们能提供哪些服务?
定制开发 / 二次开发

基于 humanmade/hm-juicer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 18
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-11-21