wakonda/moon-phase-bundle

Moon phase Bundle

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/wakonda/moon-phase-bundle

v1.3.0 2025-12-21 10:56 UTC

This package is auto-updated.

Last update: 2025-12-21 11:12:53 UTC


README

This Symfony bundle allows you to easily display moon phases. It provides a dedicated a Twig extension for your templates.

Installation

Install the bundle using Composer:

composer require wakonda/moon-phase-bundle

If you are not using Symfony Flex, you must manually register the bundle in config/bundles.php:

return [
    // ...
    Wakonda\MoonPhaseBundle\WakondaMoonPhaseBundle::class => ['all' => true],
];

In your Symfony project (the one using the bundle), you need to create a symbolic linkto the project's public folder. Use this command:

php bin/console assets:install --symlink

Usage

In Twig

{{ include("@WakondaMoonPhase/widget.html.twig") }}

Result

image

Source: https://activite-paranormale.net/grimoire

License

This bundle is under the MIT license. See the LICENSE file for more details.

Contributing

Contributions are welcome! Feel free to open an issue or a pull request on the GitHub repository.