newscoop/google-events-plugin-bundle
Composer 安装命令:
composer require newscoop/google-events-plugin-bundle
包简介
GoogleEvents plugin for Newscoop
README 文档
README
This Newscoop Plugin adds smarty functions and Admin tools to enable you to ingest, manage, and display Google calendar events in Newscoop.
Installation
Installation is a quick process:
- How to install this plugin?
- That's all!
Step 1: How to install this plugin?
Run the command:
$ php application/console plugins:install "newscoop/google-events-plugin-bundle"
$ php application/console assets:install public/
Plugin will be installed to your project's newscoop/plugins/Newscoop directory.
Step 2: That's all!
Go to Newscoop Admin panel and then open Plugins tab. The Plugin will show up there. You can now use the plugin.
Note:
To update this plugin run the command:
$ php application/console plugins:update "newscoop/google-events-plugin-bundle"
$ php application/console assets:install public/
To remove this plugin run the command:
$ php application/console plugins:remove "newscoop/google-events-plugin-bundle"
Documentation:
A more detailed documentation can be found here.
Google Events View
Provides endpoint, /google-events/events for viewing all google events (cached locally). Loads template Resources/views/GoogleEvents/google_events.tpl or _views/google_events.tpl if it exists in the loaded theme.
Usage:
{{ foreach $events as $event }} <div> <a href="/google-events/events/{{ $event->getId() }}">{{ $event->getId() }}</a> <br /> {{ $event->getSummary() }} <br /> {{ $event->getStart()|date_format:"%Y-%m-%d %H:%M" }} - {{ $event->getEnd()|date_format:"%Y-%m-%d %H:%M"}} </div> {{ /foreach }}
Google Event View
Provides endpoint, /google-events/events/{id} for viewing single google event (cached locally). Loads template Resources/views/GoogleEvents/google_event.tpl or _views/google_event.tpl if it exists in the loaded theme.
Usage:
{{ $event->getId() }} {{ $event->getDescription() }} {{ $event->getStart()|date_format:"%Y-%m-%d %H:%M" }} - {{ $event->getEnd()|date_format:"%Y-%m-%d %H:%M"}} {{ $event->getCreatorDisplayName() }} {{ $event->getCreatorEmail() }} {{ $event->getSummary() }} {{ $event->getHtmlLink() }}
Google Events Search
Note that this only searches the locally stored InstagramPhoto entities, it does NOT make a call to the Instagram Api
Provides endpoint /google-events/search, which takes the following params:
- search - search string, matches against caption, username, tags, and locationName fields
- perPage - number of records per page to send in the results
- offset - the first record to start with (used for pagination)
Results are delivered to _views/google_events_search_results.tpl, if defined in your theme, or a default internal view is used.
List Google Evenets Smarty Block
Provides a smarty block to list instagrams photos with a specfific hashtag.
Usage:
{{ list_google_events length=30 }} {{ $event->getSummary() }} {{ $event->getStart()|date_format:"%Y-%m-%d %H:%M" }} {{ $event->getEnd()|date_format:"%Y-%m-%d %H:%M" }} {{ /list_google_events }}
License
This bundle is under the GNU General Public License v3. See the complete license in the bundle:
LICENSE.txt
About
This Bundle is a Sourcefabric z.ú. initiative.
newscoop/google-events-plugin-bundle 适用场景与选型建议
newscoop/google-events-plugin-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 141 次下载、GitHub Stars 达 2, 最近一次更新时间为 2014 年 12 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「events」 「newscoop」 「google-events」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 newscoop/google-events-plugin-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 newscoop/google-events-plugin-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 newscoop/google-events-plugin-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Библиотека для реализаций паттерна Pub/Sub
Wireless Cross-Component Communication
A powerful event calendar Tool for Laravel's Nova 5.
Command bus implementation: Commands and domain events
Send feedback and contact plugin.
This is an Event Emitter equivalent to Node.js' Event Emitter.
统计信息
- 总下载量: 141
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2014-12-12