2017 © Pedro Peláez
 

library openweather

OpenWeatherMap api tweak for Laravel

image

wadday/openweather

OpenWeatherMap api tweak for Laravel

  • Thursday, July 7, 2016
  • by wadday
  • Repository
  • 1 Watchers
  • 0 Stars
  • 100 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

openweather

Simple APi Tweaks from OpenWeatherMap., (*1)

Installation

Via Composer, (*2)

$ composer require wadday/openweather:dev-master

Service Provider

'Wadday\Openweather\OpenweatherServiceProvider'

Facade

'Openweather' => 'Wadday\Openweather\Facades\Openweather'

Usage

Get current weather., (*3)

use Openweather;

$data = Openweather::get(1); //simple way formated for website top ribbon

CSS Icon (with weathericons.io)

PNG OWM default icons

Optional Requirements

222 Weather Themed Icons and CSS

Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into Bootstrap, or any project that needs high quality weather, maritime, and meteorological based icons!, (*4)

Get started at http://weathericons.io!, (*5)

Icon Preview, (*6)

Basic Usage Default icons

Place the 5 font files and the main weather-icons.min.css file in your project, with the assumption that the fonts are located up ../ from your CSS directory., (*7)

The icons are displayed by using an i element and adding the base class wi and then the icon class you want, such as day-sunny. This then looks like <i class="wi wi-day-sunny"></i>., (*8)

To add a modifier, include the class you want after the icon name, which looks like <i class="wi wi-day-sunny wi-flip-vertical"></i>. You can flip, rotate, or add a fixed width. See it all at http://weathericons.io., (*9)

Credit

The icon designs are originally by Lukas Bischoff. Icon art for v1.1 forward, HTML, Less, and CSS are by me (Erik)., (*10)

Licensing

The Versions

07/07 2016

dev-master

9999999-dev

OpenWeatherMap api tweak for Laravel

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Abdullah Waheed