PHPackages                             wadday/openweather - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. wadday/openweather

ActiveLibrary[API Development](/categories/api)

wadday/openweather
==================

OpenWeatherMap api tweak for Laravel

0169PHP

Since Jul 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/wadday/openweather)[ Packagist](https://packagist.org/packages/wadday/openweather)[ RSS](/packages/wadday-openweather/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

openweather
===========

[](#openweather)

Simple APi Tweaks from [OpenWeatherMap](http://openweathermap.org).

\##Installation

Via Composer

```
$ composer require wadday/openweather:dev-master

```

\##Service Provider 'Wadday\\Openweather\\OpenweatherServiceProvider'

\##Facade 'Openweather' =&gt; 'Wadday\\Openweather\\Facades\\Openweather'

Usage
=====

[](#usage)

Get current weather.

```
use Openweather;

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

```

CSS Icon (with weathericons.io)
-------------------------------

[](#css-icon-with-weathericonsio)

PNG OWM default icons
---------------------

[](#png-owm-default-icons)

\#Optional Requirements

222 Weather Themed Icons and CSS
================================

[](#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](http://www.getbootstrap.com), or any project that needs high quality weather, maritime, and meteorological based icons!

Get started at !

[![Icon Preview](https://camo.githubusercontent.com/6122378ab44365cc2ccd0b5457fddb48ff5c899002f96bc0994f659f5ceef4ab/687474703a2f2f692e696d6775722e636f6d2f586d5a573271332e706e67)](https://camo.githubusercontent.com/6122378ab44365cc2ccd0b5457fddb48ff5c899002f96bc0994f659f5ceef4ab/687474703a2f2f692e696d6775722e636f6d2f586d5a573271332e706e67)

Basic Usage Default icons
-------------------------

[](#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.

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 ``.

To add a modifier, include the class you want after the icon name, which looks like ``. You can flip, rotate, or add a fixed width. See it all at .

Credit
------

[](#credit)

The icon designs are originally by [Lukas Bischoff](http://www.twitter.com/artill). Icon art for v1.1 forward, HTML, Less, and CSS are by [me (Erik)](http://www.helloerik.com).

Licensing
---------

[](#licensing)

- Weather Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL)
- Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)
- Documentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c223e219278ca654357b69f8a851d4cd5b0657b8d81bb833f016f44748cc0a60?d=identicon)[wadday](/maintainers/wadday)

---

Top Contributors

[![wadday](https://avatars.githubusercontent.com/u/194339?v=4)](https://github.com/wadday "wadday (11 commits)")

### Embed Badge

![Health badge](/badges/wadday-openweather/health.svg)

```
[![Health](https://phpackages.com/badges/wadday-openweather/health.svg)](https://phpackages.com/packages/wadday-openweather)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
