aisa18 / weather
Anax weather module.
Requires
- php: >=7.2
- anax/anax-cli: ^1.1
- anax/anax-ramverk1-me: ^1.0.0
- anax/commons: ^2.0.0@beta
Requires (Dev)
- anax/anax-lite: ^1.0.24
- phpmetrics/phpmetrics: ^2
- phpunit/phpunit: ^7
README
You can use this module, together with an Anax installation, to enable a scaffolded Weather report.
Table of content
- Install as Anax module
- Install using scaffold postprocessing file
- Install and setup Anax
- Dependency
- License
Install as Anax module
This is how you install the module into an existing Anax installation.
Install using composer.
composer require aisa18/weather
You will have to modify your composer file, by adding the following line to the autoload section under like this.
"autoload": {
"psr-4": {"Anax\\": "src/"
"Aisa\\": "src/"}
Once you have modified the composer file, you will need to do composer Update.
composer update
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/aisa18/weather/.anax/scaffold/postprocess.d/100_weather.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 rem
.
$ anax create site ramverk1-me-v2
$ cd site
Dependency
This is a Anax module 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) 2019 Wissam Sawah (wesam.sawah@me.com)