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

22111PHP

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 today

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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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://avatars.githubusercontent.com/u/8476343?v=4)[Churakov Mikhail](/maintainers/Churakovmike)[@Churakovmike](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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