PHPackages                             martindilling/sunny - 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. martindilling/sunny

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

martindilling/sunny
===================

Extends Carbon with sunrise/sunset functionality.

0.5.4(6y ago)428.0k2MITPHPPHP ^7.1.8 || ^8.0

Since Apr 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/martindilling/Sunny)[ Packagist](https://packagist.org/packages/martindilling/sunny)[ Docs](https://github.com/martindilling/Sunny)[ RSS](/packages/martindilling-sunny/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (2)

Sunny
=====

[](#sunny)

[![License: MIT](https://camo.githubusercontent.com/1a2e0606685ce00663bf829868f794fd3fc9c86f8d80cae324734129e0723a58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e737667)](./LICENSE)

Extension of the great library [Carbon](https://github.com/briannesbitt/Carbon)([composer package](https://packagist.org/packages/nesbot/carbon)). Added functionality to get information related to sunrise and sunset for a specified location.

### Install with Composer

[](#install-with-composer)

```
{
    "require": {
        "martindilling/sunny": "0.*"
    }
}
```

```
