Download the PHP package lundmark/forecaster without Composer
On this page you can find all versions of the php package lundmark/forecaster. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lundmark/forecaster
More information about lundmark/forecaster
Files in lundmark/forecaster
Package forecaster
Short Description Module for the model Forecaster, used for fetching weather and forecast
License
Informations about the package forecaster
ramverk1-forecaster-moduleBTH
Forecaster- moved from main branch to a module-based build.
FORECASTER
This module can be used for handling fetching weathers from a location (lat/long). Places a file in models, and also integrates itself softly with $di in a simple way.
Below are discussed what files are moved, and where these are placed.
But first of all, installation instructions!
INSTALLATION
The easiest way to install this module is to stand in the root of your project (after installing this module via composer) and run
./vendor/lundmark/forecaster/.anax/scaffold/postprocess.d/500_forecaster.bash
This will implement the files onto your project.
Here is what the bash-file does: >>>
- Standing in root of your install-directory:
composer require lundmark/forecaster
- Files should install, and get placed in vendor/lundmark/forecaster
- After this, move files to correct locations.
- Standing in root of your install-directory:
rsync -av vendor/lundmark/forecaster/config ./config/
rsync -av vendor/lundmark/forecaster/src ./
rsync -av vendor/lundmark/forecaster/test ./
rsync -av vendor/lundmark/forecaster/content/ ./content/
- Below, all files that needs to be moved are listed. These are the same as mentioned above, in the bash code.
Files that needs to be moved
Standing in me/module/testme/
- FROM vendor/lundmark/forecaster/config/di/forecaster.php
-
TO config/di/
- FROM vendor/lundmark/forecaster/config/apikeys.php
-
TO config/
- FROM vendor/lundmark/forecaster/src/Models/Forecaster.php
-
TO src/Models/
- FROM vendor/lundmark/forecaster/test/Models/ForecasterTest.php
-
TO test/Models/
- FROM vendor/lundmark/forecaster/test/Models/ForecasterTest.php
-
TO test/Models/