PHPackages                             prasun-packages/weather-info - 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. prasun-packages/weather-info

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

prasun-packages/weather-info
============================

It provides the latest weather information for any city or geographic location in the world.

1.0.5(3y ago)18Blade

Since Jun 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/prasun-packages/weather-info)[ Packagist](https://packagist.org/packages/prasun-packages/weather-info)[ RSS](/packages/prasun-packages-weather-info/feed)WikiDiscussions dev Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

weather-info [1](#user-content-fn-1-7df6470eb7714a7e9fc7085e9b113ef1)
=====================================================================

[](#weather-info-1)

### Installation Steps:

[](#installation-steps)

1. Open your **project root** folder in a terminal and run the below command to install the package;

> `composer require prasun-packages/weather-info --with-all-dependencies`

2. Open the *config/app.php* file within the **project root** folder and scroll down to the **providers** array. In that array, there should be a section for the **package service providers**. Add the following line of code in that section;

> `PrasunPackages\WeatherInfo\Providers\WeatherInfoProvider::class,`

3. To publish the configuration file into Laravel’s *config* folder within the **project root**, run the below command;

> `php artisan vendor:publish`

4. When you hit the above command in a terminal, you will be provided a list of all **service providers** registered in your application. Choose the *PrasunPackages\\WeatherInfo\\Providers\\WeatherInfoProvider* and hit **enter**.
5. We are using API Ninjas [2](#user-content-fn-2-7df6470eb7714a7e9fc7085e9b113ef1) in our package. So to run the application you need an **API Key** which you will get by Sign up below link;

> [https://api-ninjas.com](https://api-ninjas.com/)

6. Login and copy the **API Key** from the **My Account** section, add one environment variable within the *.env* file in your **project root** folder and paste the same as value;

> `API_NINJAS_API_KEY=[replace_with_your_api_key]`

### Run the application:

[](#run-the-application)

You are now able to access the **weather-info** via the below route within your application;

> `/weather-info`

#### That's all! 😄 🥳

[](#thats-all-smile-partying_face)

###### Developed and maintained by [Prasun Das](https://github.com/prasun-lm). ©️ All rights reserved.

[](#developed-and-maintained-by-prasun-das-copyright-all-rights-reserved)

Footnotes
---------

1. This is a **Laravel** custom package. [↩](#user-content-fnref-1-7df6470eb7714a7e9fc7085e9b113ef1)
2. This is a third-party **API provider**. [↩](#user-content-fnref-2-7df6470eb7714a7e9fc7085e9b113ef1)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52051b005a375b787fc0d51580094c3d767a2037e2ed58c9bb3ef54196bee936?d=identicon)[prasun-lm](/maintainers/prasun-lm)

---

Top Contributors

[![prasun-lm](https://avatars.githubusercontent.com/u/16772609?v=4)](https://github.com/prasun-lm "prasun-lm (5 commits)")

### Embed Badge

![Health badge](/badges/prasun-packages-weather-info/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)

PHPackages © 2026

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