martinl/weather-module
Composer 安装命令:
composer require martinl/weather-module
包简介
A weather module for the anax framework.
README 文档
README
Install as Anax module
This is how you install the module into an existing Anax installation.
- Install using composer.
composer require martinl/weather-module
- Copy the needed configuration and setup the module as a route handler for the routes
weather-apiandweather2-apifor the REST api.
rsync -av vendor/martinl/weather-module/config/ ./config/
- Copy the Controllers and Models required.
rsync -av vendor/martinl/weather-module/src/ ./src/
- Now copy the views.
rsync -av vendor/martinl/weather-module/view/ ./view/
- Now copy the API documentation for the route
weather-text.
rsync -av vendor/martinl/weather-module/content/weather-text.md content/weather-text.md
- Create config/api_keys.php that will contain all api keys, like so,
<?php
return ["key1" => "xxx",
"key2" => "xxx",
"key3" => "xxx"
];
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/martinl/weather-module/.anax/scaffold/postprocess.d/710_weather_module.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 a/.
anax create a ramverk1-me-v2
cd a
Point your webserver to a/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) Martin Ledel
martinl/weather-module 适用场景与选型建议
martinl/weather-module 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 48 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 11 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「mvc」 「boilerplate」 「micro」 「education」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 martinl/weather-module 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 martinl/weather-module 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 martinl/weather-module 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Kinikit - PHP Application development framework MVC component
PHP class to extend when building a WordPress plugin allowing you to follow smart plugin setup standards.
Anax htmlform module.
Laravel 5.7 Boilerplate based on Bootstrap 4 and Tabler for Backend.
WordPress Plugin Framework
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-28