PHPackages                             medeirosdev/weather-here-developer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. medeirosdev/weather-here-developer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

medeirosdev/weather-here-developer
==================================

Weather and Climate for Developer Here

1.0.8(6y ago)015MITPHPPHP &gt;7.1CI failing

Since Oct 8Pushed 3y agoCompare

[ Source](https://github.com/medeiroz/weather-here-developer)[ Packagist](https://packagist.org/packages/medeirosdev/weather-here-developer)[ RSS](/packages/medeirosdev-weather-here-developer/feed)WikiDiscussions master Synced 3d ago

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

PHP Weather Here Developer API
==============================

[](#php-weather-here-developer-api)

This is a simple package that allows access to the Here Developer Weather API using a (mostly) fluent API.

[![Packagist Downloads](https://camo.githubusercontent.com/1339e412d237a5a2b4e8061b22343ebadd3028b50d921702b9cc1e305aa5c50c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d65646569726f736465762f776561746865722d686572652d646576656c6f706572)](https://camo.githubusercontent.com/1339e412d237a5a2b4e8061b22343ebadd3028b50d921702b9cc1e305aa5c50c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d65646569726f736465762f776561746865722d686572652d646576656c6f706572)[![Packagist PHP Version](https://camo.githubusercontent.com/7d3d8701e32b21c304011cbf38a61b31783c9e611ccbc76ed44cb33753a07674/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d65646569726f736465762f776561746865722d686572652d646576656c6f7065722f706870)](https://camo.githubusercontent.com/7d3d8701e32b21c304011cbf38a61b31783c9e611ccbc76ed44cb33753a07674/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d65646569726f736465762f776561746865722d686572652d646576656c6f7065722f706870)

Information
-----------

[](#information)

Package create for Here Developer Weather

Documentation -

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

[](#installation)

Install the package using composer:

```
$ composer require medeirosdev/weather-here-developer

```

Frameworks
----------

[](#frameworks)

At the moment we only have framework compatibility for Laravel. However, we welcome PRs to add further framework specific behavior as long as it doesn't prevent the package working for others

### Laravel

[](#laravel)

If you are using Laravel then you can use our service provider. If you have Laravel &gt;5.5 then the package will be auto discovered upon install. Else, add the following to your `config/app.php` file:

```
'providers' => [
    ...
    \MedeirosDev\WeatherHereDeveloper\Frameworks\Laravel\WeatherHereDeveloperServiceProvider::class,
]
```

#### Facades

[](#facades)

If you are using Laravel &gt;5.5 then the facade will be automatically discovered. Else, you can add it in your `config/app.php` file.

```
'aliases' => [
    ...
    'WeatherHereDeveloper' => \MedeirosDev\WeatherHereDeveloper\Frameworks\Laravel\WeatherHereDeveloper::class,
]
```

#### Configuration

[](#configuration)

First, make sure you have copied the configuration file:

```
$ php artisan vendor:publish --tag=config --provider="MedeirosDev\WeatherHereDeveloper\Frameworks\Laravel\WeatherHereDeveloperServiceProvider"

```

This will make a `config/here_developer.php` file, this is where your API Key / License information is fetched from. By default we use the `.env` configuration values to get your API key.

Use the App ID and App Code then you should add the following to your `.env`:

```
HERE_DEVELOPER_APP_ID=MY-APP-ID
HERE_DEVELOPER_APP_CODE=MY-APP-CODE

```

Please, make sure you don't store your keys in version control!

Usage
-----

[](#usage)

#### License / API Key

[](#license--api-key)

Before making requests you need to create your License object. You will need is your API key, then you can create your license as follows:

```
$license = new License($appId, $appCode);
```

Then, you can start making your request:

```
$request = new WeatherHereDeveloper($license);

// or

$request = WeatherHereDeveloper::license($license);

// or Laravel framework license is auto generated

$request = new WeatherHereDeveloper();
```

#### Basic usage

[](#basic-usage)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLanguage(Language::PORTUGUESE_BR)
    ->setLocation(Location::byName('Campinas - SP - Brazil'))
    ->request();

// Get description of first node
$response->nodes[0]->description

// Or get description of first node based json response
$response->observations->location[0]->observaton[0]->description
```

#### Basic usage in Laravel

[](#basic-usage-in-laravel)

##### No need to enter license object

[](#no-need-to-enter-license-object)

```
$response = (new WeatherHereDeveloper)
    ->setProduct(Product::OBSERVATION)
    ->setLanguage(Language::PORTUGUESE_BR)
    ->setLocation(Location::byName('Campinas - SP - Brazil'))
    ->request();
```

#### Supported Products

[](#supported-products)

- Product::`OBSERVATION`
- Product::`FORECAST_7DAYS`
- Product::`FORECAST_7DAYS_SIMPLE`
- Product::`FORECAST_HOURLY`
- Product::`FORECAST_ASTRONOMY`
- Product::`ALERTS`
- Product::`NWS_ALERTS`

#### SUPPORTED UNITS

[](#supported-units)

- Unit::`METRIC`
- Unit::`IMPERIAL`

#### Supported Locations

[](#supported-locations)

- Location::`byLatitudeLongitude($latitude, $longitude)`
- Location::`byName($cityOrOtherName)`
- Location::`byZipcode($zipcode)`

#### Supported Languages consult language files

[](#supported-languages-consult-language-files)

```
src/Entities/Language.php

```

#### Get Observation

[](#get-observation)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLanguage(Language::PORTUGUESE_BR)
    ->setLocation(Location::byName('Campinas - SP - Brazil'))
    ->request();

$observations = $response->nodes;
```

#### Get One Observation

[](#get-one-observation)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLanguage(Language::PORTUGUESE_BR)
    ->setLocation(Location::byName('Campinas - SP - Brazil'))
    ->setOneObservation()
    ->request();

$observation = $response->nodes[0];
```

#### Get Forecast 7 days

[](#get-forecast-7-days)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::FORECAST_7DAYS)
    ->setLanguage(Language::PORTUGUESE_BR)
    ->setLocation(Location::byName('Campinas - SP - Brazil'))
    ->setOneObservation()
    ->request();

$node = $response->nodes[0];
```

#### Use Location - Latitude and Longitude

[](#use-location---latitude-and-longitude)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLocation(Location::byLatitudeLongitude('-22.907104', '-47.063240'))
    ->request();
```

#### Use Location - Zipcode

[](#use-location---zipcode)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLocation(Location::byZipcode('13000-000'))
    ->request();
```

#### Use Unit - Imperial

[](#use-unit---imperial)

```
$response = WeatherHereDeveloper::license($license)
    ->setProduct(Product::OBSERVATION)
    ->setLocation(Location::byZipcode('13000-000'))
    ->useImperial()
    ->request();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~0 days

Total

4

Last Release

2410d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11270546?v=4)[Flávio Medeiros](/maintainers/medeiroz)[@medeiroz](https://github.com/medeiroz)

---

Top Contributors

[![medeirozFer](https://avatars.githubusercontent.com/u/107270273?v=4)](https://github.com/medeirozFer "medeirozFer (6 commits)")[![medeiroz](https://avatars.githubusercontent.com/u/11270546?v=4)](https://github.com/medeiroz "medeiroz (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/medeirosdev-weather-here-developer/health.svg)

```
[![Health](https://phpackages.com/badges/medeirosdev-weather-here-developer/health.svg)](https://phpackages.com/packages/medeirosdev-weather-here-developer)
```

###  Alternatives

[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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