PHPackages                             webtoucher/geometeo-libs - 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. webtoucher/geometeo-libs

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

webtoucher/geometeo-libs
========================

GeoMeteo libraries

113PHP

Since Mar 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/webtoucher/geometeo-libs)[ Packagist](https://packagist.org/packages/webtoucher/geometeo-libs)[ RSS](/packages/webtoucher-geometeo-libs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

GeoMeteo: Libs
==============

[](#geometeo-libs)

Libraries for GeoMeteo or another application.

[![Latest Stable Version](https://camo.githubusercontent.com/d0deb517395a8ffd562a70269e371abac4156fe5d54b57caf10799519fb8eceb/68747470733a2f2f706f7365722e707567782e6f72672f776562746f75636865722f67656f6d6574656f2d6c6962732f762f737461626c65)](https://packagist.org/packages/webtoucher/geometeo-libs)[![Total Downloads](https://camo.githubusercontent.com/fda1215805a51ce47111e87f342a04c3522328af5b44c54f7ac73116fdc391ae/68747470733a2f2f706f7365722e707567782e6f72672f776562746f75636865722f67656f6d6574656f2d6c6962732f646f776e6c6f616473)](https://packagist.org/packages/webtoucher/geometeo-libs)[![Daily Downloads](https://camo.githubusercontent.com/351b47c0dc887f2c0457231004d11983668497f59ade08525fa0cbbf8098b394/68747470733a2f2f706f7365722e707567782e6f72672f776562746f75636865722f67656f6d6574656f2d6c6962732f642f6461696c79)](https://packagist.org/packages/webtoucher/geometeo-libs)[![Latest Unstable Version](https://camo.githubusercontent.com/0561b5d2e154b8096312ce7575b7d5b7e734d6bdefcec857118c1ff5ee87ae1a/68747470733a2f2f706f7365722e707567782e6f72672f776562746f75636865722f67656f6d6574656f2d6c6962732f762f756e737461626c65)](https://packagist.org/packages/webtoucher/geometeo-libs)[![License](https://camo.githubusercontent.com/c3a5e4d6f4ca7816e0854e4e4ac8285ed2470c98b354151729172865909524e3/68747470733a2f2f706f7365722e707567782e6f72672f776562746f75636865722f67656f6d6574656f2d6c6962732f6c6963656e7365)](https://packagist.org/packages/webtoucher/geometeo-libs)

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

[](#installation)

The preferred way to install this library is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require webtoucher/geometeo-libs "*"

```

or add

```
"webtoucher/geometeo-libs": "*"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

```
    use \webtoucher\geometeo\libs\GeoDataProvider;
    use \webtoucher\geometeo\libs\SunCalculator;
    use \webtoucher\geometeo\libs\Coordinate;
```

Create and configure data provider for selected geoposition.

```
    $provider = new GeoDataProvider(55.012207, 83.289468, 'Asia/Novosibirsk');
```

or

```
    $provider = new GeoDataProvider(
        Coordinate::fromDms(55, 0, 43.945199999987, Coordinate::NORTH),
        Coordinate::fromDms(83, 17, 22.084799999998, Coordinate::EAST),
        'Asia/Novosibirsk'
    );
```

Then you can calculate needed data with one of calculators and time grid.

```
    $inputValuesGrid = [
        '2017-03-02 19:00:00' => [],
        '2017-03-02 19:01:00' => [],
        '2017-03-02 19:02:00' => [],
        '2017-03-02 19:03:00' => [],
        '2017-03-02 19:04:00' => [],
    ];
    $calculator = new SunCalculator(SunCalculator::AZIMUTH|SunCalculator::ALTITUDE);
    $outputValuesGrid = $provider->calculate($calculator, $inputValuesGrid);

    // $outputValuesGrid:
    // [
    //     '2017-03-02 19:00:00' => [
    //         SunCalculator::AZIMUTH => 257.89361108248,
    //         SunCalculator::ALTITUDE => -0.36968324076901,
    //     ],
    //     '2017-03-02 19:01:00' => [
    //         SunCalculator::AZIMUTH => 258.09820089334,
    //         SunCalculator::ALTITUDE => -0.50989896273262,
    //     ],
    //     '2017-03-02 19:02:00' => [
    //         SunCalculator::AZIMUTH => 258.30272277877,
    //         SunCalculator::ALTITUDE => -0.65022023277039,
    //     ],
    //     '2017-03-02 19:03:00' => [
    //         SunCalculator::AZIMUTH => 258.50717913747,
    //         SunCalculator::ALTITUDE => -0.7906452287774,
    //     ],
    //     '2017-03-02 19:04:00' => [
    //         SunCalculator::AZIMUTH => 258.71157237265,
    //         SunCalculator::ALTITUDE => -0.93117213026396,
    //     ],
    // ];
```

Support
-------

[](#support)

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/webtoucher/geometeo-libs/issues).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/500243?v=4)[Алексей Кузнецов](/maintainers/webtoucher)[@webtoucher](https://github.com/webtoucher)

---

Top Contributors

[![webtoucher](https://avatars.githubusercontent.com/u/500243?v=4)](https://github.com/webtoucher "webtoucher (6 commits)")

### Embed Badge

![Health badge](/badges/webtoucher-geometeo-libs/health.svg)

```
[![Health](https://phpackages.com/badges/webtoucher-geometeo-libs/health.svg)](https://phpackages.com/packages/webtoucher-geometeo-libs)
```

PHPackages © 2026

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