Download the PHP package mabn17/weather without Composer

On this page you can find all versions of the php package mabn17/weather. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package weather

Anax weather module

Latest Stable Version License

Build Status Build Status Code Intelligence Status Scrutinizer Code Quality

Codacy Badge Maintainability Code Coverage

Anax weather module implementing a weather application.

This Weather module can be used to see the weeks weather and/or the weather for the past month. Use this together with an Anax installation.

This module has a graphical part in witch the user searches for a given location and resives the data of the weeks weather and the past 30 days.

It also provides a REST api with HTTP method GET. The route takes a location as an argument and returns a JSON response with the same and more details as the graphical interface. See more in View/explainJson.php.

Install and setup Anax

First install your own version of Anax.

Install the weather app as part of Anax

Install using composer and then integrate the module with your Anax installation.

Install with composer

We install the Weather app as a module from Packagist.

Configuration files for weather

We need to copy the configuration files for the weather module.

Note: Remember to change the value to your own DarkSky API key.

Views & Documentation

We need to copy the API documentation and the weather module views.

If you would like to change the documentation to markdown then create a new file in anax/content/. The route will have the same name as your .md file has.

Controllers and Models

Move the files in vendor/mabn17/weather/src/Controller/ into src/Controller/ then change to the commented line in both controller classes.

Move vendor/mabn17/weather/src/Weather folder into the src/ folder.

Router files

You need to include the router file in your router configuration anax/config/router/. There is a sample you can use in vendor/mabn17/config/router/902_vader.php.

DI Services

You need to add the configuration file for di.

You need to add the configuration for the di services anax/config/di/. There is a sample you can use in vendor/mabn17config/di/weather.php.

License


All versions of weather with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
anax/commons Version ^2.0.0@beta
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mabn17/weather contains the following files

Loading the files please wait ....