LaravelPackages.net
Acme Inc.
Toggle sidebar
prrwebcreate/weather

A Laravel Package for Weather powered by openweathermap.org

0
0
About prrwebcreate/weather

prrwebcreate/weather is a Laravel package for a laravel package for weather powered by openweathermap.org. It currently has 0 GitHub stars and 0 downloads on Packagist. Install it with composer require prrwebcreate/weather. Discover more Laravel packages by prrwebcreate or browse all Laravel packages to compare alternatives.

Last updated

Weather

Latest Version on Packagist Total Downloads Build Status StyleCI

preview wgnsy/weather

Installation

Via Composer

$ composer require prrwebcreate/weather

Make sure you are using Bootstrap 5.

Usage

Simple Weather Widget powered by https://openweathermap.org/. Install package and configure default values (config/weather.php):

api_key = your api key from https://openweathermap.org/ time_interval = time between reloads

Weather information is saved in a database 'weather'.

To use a package, you need to call the "renderWeather($name = city name, ex. 'London',$lang = language, ex. 'en','pl')" helper function in a view; renderWeather('London','en')

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

Comments