PHPackages                             martinl/weather-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. martinl/weather-module

ActiveLibrary[Framework](/categories/framework)

martinl/weather-module
======================

A weather module for the anax framework.

v5.0.15(6y ago)046↓100%MITPHPPHP &gt;=7.2CI failing

Since Nov 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MartinLedel/ramverk1-module)[ Packagist](https://packagist.org/packages/martinl/weather-module)[ Docs](https://dbwebb.se/anax)[ RSS](/packages/martinl-weather-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (27)Used By (0)

Anax weather-module server
==========================

[](#anax-weather-module-server)

[![Build Status](https://camo.githubusercontent.com/22c235659fa5f34a4e98d426ecf687c2423c20af15590eb860f2439d72447598/68747470733a2f2f7472617669732d63692e6f72672f4d617274696e4c6564656c2f72616d7665726b312d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MartinLedel/ramverk1-module)[![CircleCI](https://camo.githubusercontent.com/725c4f296ad149a404d22cd202f1995636113193755c10cc3a5fa9015d252822/68747470733a2f2f636972636c6563692e636f6d2f67682f4d617274696e4c6564656c2f72616d7665726b312d6d6f64756c652e7376673f7374796c653d737667)](https://circleci.com/gh/MartinLedel/ramverk1-module)

[![Build Status](https://camo.githubusercontent.com/7a291a8add6d197d75294b8ce14a592a8574bcea544bb2303f9b8be543affdf1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d617274696e4c6564656c2f72616d7665726b312d6d6f64756c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MartinLedel/ramverk1-module/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3212dedb190f0c79701cf3ca92fcb8d03fe905d3eb953bfd54d1183661ca4060/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d617274696e4c6564656c2f72616d7665726b312d6d6f64756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MartinLedel/ramverk1-module/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ac738faeb07625148e961efcecf31386d6eaf9b6eaa622acd5c1d07af3d727a9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d617274696e4c6564656c2f72616d7665726b312d6d6f64756c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MartinLedel/ramverk1-module/?branch=master)

[![Codacy Badge](https://camo.githubusercontent.com/dfdae820b03b23a05d25c746f4735bde8ad42fed7819a7568160306829e7a284/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6337303262636362313734613434653738303066343434653931666531353762)](https://www.codacy.com/manual/MartinLedel/ramverk1-module?utm_source=github.com&utm_medium=referral&utm_content=MartinLedel/ramverk1-module&utm_campaign=Badge_Grade)

Install as Anax module
----------------------

[](#install-as-anax-module)

This is how you install the module into an existing Anax installation.

1. Install using composer.

```
composer require martinl/weather-module
```

2. Copy the needed configuration and setup the module as a route handler for the routes `weather-api` and `weather2-api` for the REST api.

```
rsync -av vendor/martinl/weather-module/config/ ./config/
```

3. Copy the Controllers and Models required.

```
rsync -av vendor/martinl/weather-module/src/ ./src/
```

4. Now copy the views.

```
rsync -av vendor/martinl/weather-module/view/ ./view/
```

5. Now copy the API documentation for the route `weather-text`.

```
rsync -av vendor/martinl/weather-module/content/weather-text.md content/weather-text.md
```

6. Create config/api\_keys.php that will contain all api keys, like so,

```
