adampatpattison/craft-nasaapod
Composer 安装命令:
composer require adampatpattison/craft-nasaapod
包简介
Adds a simple widget which pulls the NASA Astronomy Picture of the Day in the dashboard
README 文档
README
Adds a simple widget which pulls the NASA Astronomy Picture of the Day in to the admin dashboard
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require adampatpattison/craft-nasaapod -
In the Control Panel, go to Settings → Plugins and click the “Install” button for NASA Astronomy Astronomy Picture of the Day widget.
NASA Astronomy Picture of the Day widget Overview
This plugin, adds a simple widget which pulls the NASA Astronomy Picture of the Day in to the admin dashboard. It requires the user to generate an API Key from the NASA API website and support caching the API calls so as not to spam the API.
Using NASA Astronomy Picture of the Day widget
To get an API Key, visit https://api.nasa.gov and add a valid email address to receive your key. Once completed, you can add your API key to the widget settings once the plugin is enabled and added via the dashboard control.
There is also a data caching option which is enabled by default but can be customised. This is to reduce the amount of calls made to the API.
Brought to you by Adam Pat Pattison
adampatpattison/craft-nasaapod 适用场景与选型建议
adampatpattison/craft-nasaapod 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 181 次下载、GitHub Stars 达 1, 最近一次更新时间为 2018 年 10 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「widget」 「photos」 「Craft」 「craftcms」 「craft-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 adampatpattison/craft-nasaapod 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 adampatpattison/craft-nasaapod 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 adampatpattison/craft-nasaapod 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
Set Links with a specific language parameter
Supercharged text field validation.
Creates a basic photo gallery pagetype with albums and photos. Photos within albums are opened with a lightbox.
Add a weather widget to Flarum
统计信息
- 总下载量: 181
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-15

