PHPackages                             swis/moonphase-bundle - 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. swis/moonphase-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

swis/moonphase-bundle
=====================

This Bundle integrates some moon phase calculation stuff into a Symfony2 project.

037PHP

Since Mar 30Pushed 13y ago2 watchersCompare

[ Source](https://github.com/swis/MoonPhaseBundle)[ Packagist](https://packagist.org/packages/swis/moonphase-bundle)[ RSS](/packages/swis-moonphase-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MoonPhaseBundle
===============

[](#moonphasebundle)

[![Build Status](https://camo.githubusercontent.com/cdedb87a286f5448330784b2451c7c3e5a8acdf6af40ca8ecce9515d49e7dfa6/68747470733a2f2f7472617669732d63692e6f72672f737769732f4d6f6f6e506861736542756e646c652e706e67)](https://travis-ci.org/swis/MoonPhaseBundle)

This Bundle is designed to add some moon phase calculation stuff to your Symfony2 project.

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

[](#installation)

### Installation by Composer

[](#installation-by-composer)

If you use composer, add the bundle as dependency to the composer.json of your application

#### for Symfony 2.x

[](#for-symfony-2x)

```
"require": {
    ...
    "swis/moonphase-bundle": "dev-master"
    ...
},

```

### Installation via git submodule

[](#installation-via-git-submodule)

```
    git submodule add git://github.com/swis/MoonPhaseBundle.git vendor/bundles/Swis/Bundle/MoonPhaseBundle
```

Instantiate Bundle in your kernel init file
-------------------------------------------

[](#instantiate-bundle-in-your-kernel-init-file)

```
// app/AppKernel.php
