PHPackages                             j-crowe/open-weather - 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. j-crowe/open-weather

ActiveLibrary

j-crowe/open-weather
====================

A very simple wrapper for Open Weather

v1.2.0(10y ago)418.5k5MITPHPPHP &gt;=5.3.0

Since Nov 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jcrowe206/open-weather)[ Packagist](https://packagist.org/packages/j-crowe/open-weather)[ RSS](/packages/j-crowe-open-weather/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

OpenWeather PHP Wrapper
=======================

[](#openweather-php-wrapper)

[![Build Status](https://camo.githubusercontent.com/eccabd84cd9c121520c5e732b3b390029f0ae84a667d69a2ac618f82fba02fa6/68747470733a2f2f7472617669732d63692e6f72672f6a63726f77653230362f6f70656e2d776561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jcrowe206/open-weather)

PHP Wrapper for the [Open Weather API](http://openweathermap.org/current)

This library does not require Laravel; however, a Laravel Service Provider is included.

Installation
------------

[](#installation)

Install using composer:

```
"require": {
    "j-crowe/open-weather": "1.2"
}

```

or via CLI

```
composer require j-crowe/open-weather 1.2

```

Configuration
-------------

[](#configuration)

There are 3 required configurations:

First, the app\_id - an environment variable named 'OPENWEATHER\_APPID' that must be set in your application

Please see [here](http://openweathermap.org/appid) to get one

The other two - the Base URL and Default Guzzle Options.

Please see [here](http://docs.guzzlephp.org/en/5.3/clients.html#request-options) for possible options

Usage Without Laravel
---------------------

[](#usage-without-laravel)

See below for sample initialization code:

```

```

Usage With Laravel
------------------

[](#usage-with-laravel)

In `config/app.php`, add the following to the service providers array.

```
array(
    ...
    'JCrowe\OpenWeather\Providers\OpenWeatherServiceProvider',
)

```

Then add the following to the aliases array.

```
'OpenWeather' => 'JCrowe\OpenWeather\Facades\OpenWeather'

```

Publish the configs using `php artisan config:publish j-crowe/open-weather`, which should include the default configuration, which should include the default configuration.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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.

###  Release Activity

Cadence

Every ~120 days

Total

5

Last Release

3707d ago

### Community

Maintainers

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

---

Top Contributors

[![jcrowe206](https://avatars.githubusercontent.com/u/928788?v=4)](https://github.com/jcrowe206 "jcrowe206 (20 commits)")[![simoheinonen](https://avatars.githubusercontent.com/u/3840367?v=4)](https://github.com/simoheinonen "simoheinonen (1 commits)")[![tudor2004](https://avatars.githubusercontent.com/u/2884281?v=4)](https://github.com/tudor2004 "tudor2004 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/j-crowe-open-weather/health.svg)

```
[![Health](https://phpackages.com/badges/j-crowe-open-weather/health.svg)](https://phpackages.com/packages/j-crowe-open-weather)
```

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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