PHPackages                             meteosource/meteosource\_php - 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. meteosource/meteosource\_php

ActiveLibrary[API Development](/categories/api)

meteosource/meteosource\_php
============================

PHP wrapper library for global weather API - hyperlocal weather forecasts

v1.0.1(3y ago)2117MITPHPPHP &gt;=7.2

Since Sep 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Meteosource/meteosource_php)[ Packagist](https://packagist.org/packages/meteosource/meteosource_php)[ Docs](https://github.com/Meteosource/metesource_php)[ RSS](/packages/meteosource-meteosource-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

meteosource - Weather API library
=================================

[](#meteosource---weather-api-library)

PHP wrapper library for [Meteosource weather API](https://www.meteosource.com) that provides detailed hyperlocal weather forecasts for any location on earth.

### Installation

[](#installation)

Install using [Composer](https://getcomposer.org/).

```
composer require meteosource/meteosource_php
```

### Get started

[](#get-started)

To use this library, you need to obtain your Meteosource API key. You can [sign up](https://www.meteosource.com/client/sign-up) or get the API key of existing account in [your dashboard](https://www.meteosource.com/client).

Library usage
=============

[](#library-usage)

Initialization
--------------

[](#initialization)

To initialize the `Meteosource` object, you need your API key and the name of your subscription plan (tier). Basic example of initialization is shown below:

```
