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(2y ago)18Blade

Since Jun 13Pushed 2y 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 1mo ago

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

weather-info [1](#user-content-fn-1-9bf0191d9b5c5330e35951861a04511a)
=====================================================================

[](#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-9bf0191d9b5c5330e35951861a04511a) 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-9bf0191d9b5c5330e35951861a04511a)
2. This is a third-party **API provider**. [↩](#user-content-fnref-2-9bf0191d9b5c5330e35951861a04511a)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1063d 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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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