PHPackages                             ecce/laravel-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. ecce/laravel-weather

ActiveLibrary

ecce/laravel-weather
====================

Laravel Weather Package

013Blade

Since Sep 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/stuarttodd-dev/laravel-weather)[ Packagist](https://packagist.org/packages/ecce/laravel-weather)[ RSS](/packages/ecce-laravel-weather/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Weather Package
=======================

[](#laravel-weather-package)

The Laravel Weather Package is a powerful tool for integrating weather forecast data into your Laravel application. It allows you to fetch weather data for a given IP address, display geo-location information, and present a 5-day weather forecast along with a map for visualization.

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

[](#installation)

To get started with the Laravel Weather Package, follow these steps:

1. Configure composer.json

```
"minimum-stability": "dev",

```

2. Install the package via Composer:

```
composer require ecce/laravel-weather
```

3. Publish the package configuration and views:

```
php artisan vendor:publish --tag=laravel-weather-config
php artisan vendor:publish --tag=laravel-weather-assets
php artisan vendor:publish --tag=laravel-weather-views

```

4. Configure your API key in the config/laravel-weather.php file. Visit -

```
return [
    'api_key' => env('OPEN_WEATHER_API_KEY', ''),
];

```

5. Fetch data option

```
use Ecce\LaravelWeather\Facades\LaravelWeather;

// Example: Fetch weather data for an IP address
$ipAddress = '123.45.67.89';
$weatherData = LaravelWeather::getDailyForecast($ipAddress);
$geoLocation = $weatherData['geoLocation'];
$forecast = $weatherData['forecast'];

```

6. Visit URL Visit **/weather-forecasts** within your Laravel app

###  Health Score

14

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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/8d7514db87ed49ccef24aee6af3c509527472bc70b9be35c02c081996436fb77?d=identicon)[stuarttodd-dev](/maintainers/stuarttodd-dev)

---

Top Contributors

[![stuarttodd-dev](https://avatars.githubusercontent.com/u/54860041?v=4)](https://github.com/stuarttodd-dev "stuarttodd-dev (35 commits)")

### Embed Badge

![Health badge](/badges/ecce-laravel-weather/health.svg)

```
[![Health](https://phpackages.com/badges/ecce-laravel-weather/health.svg)](https://phpackages.com/packages/ecce-laravel-weather)
```

PHPackages © 2026

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