iionly/gifts
Composer 安装命令:
composer require iionly/gifts
包简介
Send Gifts to your Friends.
README 文档
README
Latest Version: 2.3.1
Released: 2018-06-02
Contact: iionly@gmx.de
License: GNU General Public License version 2
Copyright: (c) iionly, Galdrapiu, Christian Heckelmann
Installation
If upgrading from a version older than version 2.3.1 please read the upgrade instructions below first!
- If you have a previous version of the Gifts plugin installed, please disable it and then remove the gifts plugin folder completely before installing the new version,
- Copy the gifts plugin folder into you mod folder,
- Enable the Gifts plugin in the admin section of your site (Configure - Plugins),
- Configure your gifts in the admin section of your site (Configure - Settings - Gifts).
Upgrading
Starting with version 2.3.1 of the Gifts plugin the gift images are no longer saved in and served from the images subdirectory within the gifts plugin folder in mod but are saved in and served from the Elgg data directory. There's a migration script available to re-create the gifts images and the gift image thumbnails in the Elgg data directory if you have already used a version of the Gifts plugin older than 2.3.1. The execution of the upgrade script can be triggered from the Gifts plugin settings page. Please check if there's a pending upgrade displayed there after upgrading to version 2.3.1 or newer of the Gifts plugin.
The upgrade script can't handle the migration. if you have used a version below 0.1.0 of the Gifts plugin up to now and uploaded pictures to the images folder. In this case you have to upload the pictures again within the Gifts admin menu.
When upgrading from a version newer than 0.1.0 to 2.3.1 or newer, you will need to keep the images subdirectory in the Gifts plugin folder until you have successfully finished the migration upgrade. Do as follows:
- Backup the database and data directory of your Elgg site (there can always go something wrong when running a upgrade script that alters database and data directory),
- Backup the images subdirectory (mod/gifts/images) in the gifts plugin folder. Do not remove the images subdirectory yet!
- Disable the Gifts plugin in the admin section of your site,
- Remove all Gifts plugin files and subfolders within the gifts directory EXCEPT the images folder,
- Copy the new version of the Gifts plugin (2.3.1 or newer) into your mod folder,
- Enable the Gifts plugin in the admin section of your site,
- Go to the Gifts plugin settings page (Configure - Settings - Gifts). There should be an upgrade button shown. Click it to execute the migration upgrade,
- After the upgrade has finished the gift images should show up again (on the individual Gifts settings tab page, on the pages of gifts, in the gifts widgets, etc.). Make sure they do to know that the migration has been successful.
- If the migration has been done, you can remove the images folder (mod/gifts/images).
If the migration has failed for some reason, you can either try again (in this case restory the database and data directory from your backup first) or you would have to re-upload the gift images manually again. Hopefully, this won't be necessary. In case you ever need to access the gift images files directory, they are saved within the site_entity subfolder in the data directory (in most cases the subfolder is 1/1/gifts within the data directory).
iionly/gifts 适用场景与选型建议
iionly/gifts 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 10 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「elgg」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 iionly/gifts 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 iionly/gifts 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 iionly/gifts 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Import an RSS-feed into blog
Plugin for YOURLS. Default tools to use in some laemmi plugins
Bi-directional email handling via Mailgun
News and announcements by administrators, news staff and group owners
Two-factor SMS authentication via Twilio Authy
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2015-10-11