PHPackages                             churakovmike/accuweather-client - 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. [API Development](/categories/api)
4. /
5. churakovmike/accuweather-client

ActiveLibrary[API Development](/categories/api)

churakovmike/accuweather-client
===============================

Accuweather php client

21981PHP

Since Aug 9Pushed 5y agoCompare

[ Source](https://github.com/Churakovmike/accuweather-client)[ Packagist](https://packagist.org/packages/churakovmike/accuweather-client)[ RSS](/packages/churakovmike-accuweather-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Accuweather php client
======================

[](#accuweather-php-client)

Requirement
-----------

[](#requirement)

- PHP &gt;=7.0

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

[](#installation)

```
composer require churakovmike/accuweather-client
```

or with composer.phar

```
php composer.phar require churakovmike/accuweather-client
```

Usage
-----

[](#usage)

Initialize api client in your code.

```
use ChurakovMike\Accuweather\Client\Client;

$client = new Client([
    'apiKey' => 'your-api-key',
]);
```

You can set your api key later:

```
use ChurakovMike\Accuweather\Client\Client;

$client = new Client();
$client->setApikey('your-api-key');
```

API Reference
-------------

[](#api-reference)

#### Locations API

[](#locations-api)

#### Forecast API

[](#forecast-api)

#### Current Conditions API

[](#current-conditions-api)

- Current Conditions

```
$client->currentCondition()->get($countryCode, $language, $details);
```

- Current Conditions for Top Cities

```
$client->getTopCitiesCondition()->get($group, $language);
```

- Historical Current Conditions (past 24 hours)

```
$client->getHistorical()->get($countryCode, $language, $details);
```

- GETHistorical Current Conditions (past 6 hours)

```
$client->getHistoricalPast()->get($countryCode, $language, $details);
```

#### Indices API

[](#indices-api)

#### Weather Alarms API

[](#weather-alarms-api)

- 1 Day of Weather Alarms

```
$client->weatherAlarm()->get1day($countryCode, $language);
```

- 10 Days of Weather Alarms

```
$client->weatherAlarm()->get10day($countryCode, $language);
```

- GET15 Days of Weather Alarms

```
$client->weatherAlarm()->get15day($countryCode, $language);
```

- GET5 Days of Weather Alarms

```
$client->weatherAlarm()->get5day($countryCode, $language);
```

#### Alerts API

[](#alerts-api)

- Alerts by LocationKey

```
$client->alert()->get($countryCode, $language, $details);
```

#### Imagery API

[](#imagery-api)

- GETRadar and Satellite Imagery

```
$client->imagery()->get($resolution, $countryCode, $language);
```

#### Tropical API

[](#tropical-api)

- Active government-issued storms by basin ID and government ID

```
$client->tropical()->getActiveStormSpecify($basinID, $governmentId);
```

- Active government-issued storms

```
$client->tropical()->getActiveStorm();
```

- Search government-issued storms by year and basin ID

```
$client->tropical()->search($year, $basinId);
```

- Search government-issued storms by year, basin ID, and government ID

```
$client->tropical()->extendedSearch($year, $basinId, $governmentId);
```

- Active government-issued storms by basin ID

```
$client->tropical()->getStormByBasinId($basinId);
```

- Positions for an individual government-issued storm

```
$client->tropical()->getStormPosition($year, $basinId, $governmentId, $details, $geometry, $includeLandmarks);
```

- Current position for an individual government-issued storm

```
$client->tropical()->getStormCurrentPosition($year, $basinId, $governmentId, $details, $geometry, $includeLandmarks);
```

- Government-issued forecasts

```
$client->tropical()->getGovernmentForecast($year, $basinId, $governmentId, $details, $geometry, $windowGeometry);
```

- Tropical cyclone forecasts (deprecated)

```
$client->tropical()->getCycloneForecast($year, $basinId, $depressionId);
```

#### Translations API

[](#translations-api)

- List all Languages - Returns metadata for all languages.

```
$client->translation()->getLanguages();
```

- List of Available Translation Groups - Lists groups of phrases that are available for translation.

```
$client->translation()->getTranslationGroups();
```

- List of Translations for a Specific Group - Returns all translated phrases for a specific group, in the desired language.

```
$client->translation()->getTranslationByGroup();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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/a675916652393f7c6010b64d46a40295c54aff73aa2408f5c13dbf7ca9f02306?d=identicon)[Churakovmike](/maintainers/Churakovmike)

---

Top Contributors

[![Churakovmike](https://avatars.githubusercontent.com/u/8476343?v=4)](https://github.com/Churakovmike "Churakovmike (34 commits)")

### Embed Badge

![Health badge](/badges/churakovmike-accuweather-client/health.svg)

```
[![Health](https://phpackages.com/badges/churakovmike-accuweather-client/health.svg)](https://phpackages.com/packages/churakovmike-accuweather-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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