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
Requires
- php: >=8.2
- symfony/config: ^8.0
- symfony/dependency-injection: ^8.0
- symfony/framework-bundle: ^8.0
- symfony/translation: ^8.0
- symfony/twig-bundle: ^8.0
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
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.