daib17/forecast
Composer 安装命令:
composer require daib17/forecast
包简介
Anax weather forecast module.
README 文档
README
The Weather Forecast module allows you to request both forecasts and historical weather data from the past month.
Table of content
- Install as Anax module
- Install using scaffold postprocessing file
- Install and setup Anax
- Dependency
- License
You can also read this documentation online.
Install as Anax module
This is how you install the module into an existing Anax installation.
Install using composer.
composer require daib17/forecast
Copy the needed configuration and setup the forecast as a route handler for the route forecast.
rsync -av vendor/daib17/forecast/config ./
rsync -av vendor/daib17/forecast/src ./
rsync -av vendor/daib17/forecast/test ./
rsync -av vendor/daib17/forecast/view ./
The module is now active on the route forecast/. You may try it out on the route json/forecast to get results in JSON format.
Install using scaffold postprocessing file
The module supports a postprocessing installation script, to be used with Anax scaffolding. The script executes the default installation, as outlined above.
bash vendor/daib17/forecast/.anax/scaffold/postprocess.d/700_forecast.bash
The postprocessing script should be run after the composer require is done.
Install and setup Anax
You need a Anax installation, before you can use this module. You can create a sample Anax installation, using the scaffolding utility anax-cli.
Scaffold a sample Anax installation anax-site-develop into the directory weather.
$ anax create weather anax-site-develop
$ cd weather
Point your webserver to weather/htdocs and Anax should display a Home-page.
Dependency
This is a Anax modulen and primarly intended to be used together with the Anax framework.
License
This software carries a MIT license. See LICENSE.txt for details.
Copyright (c) 2018 Daniel Ibanez
daib17/forecast 适用场景与选型建议
daib17/forecast 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 29 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 12 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 daib17/forecast 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 daib17/forecast 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-18