Search by

seb-jean / zodiac-bundle

seb-jean

Zodiac sign calculator for Symfony applications.

Package info

github.com/seb-jean/zodiac-bundle

Type:symfony-bundle

pkg:composer/seb-jean/zodiac-bundle

Statistics

Installs: 429

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-10-12 13:59 UTC

This package is auto-updated.

Last update: 2026-10-12 14:32:04 UTC


README

CI Latest Version PHP Version Total Downloads License

This bundle gives the western or Chinese zodiac sign of a date in your Symfony application.

  • Provides the signs as PHP enums, with an emoji and a translated name
  • Accepts a DateTimeInterface, a date string, a Stringable or a Unix timestamp
  • Adds a ZodiacCalculator service, and a zodiac_sign Twig filter and function
  • Works with forms, route parameters, the serializer and Doctrine, without extra code

It requires PHP 8.4 or higher and Symfony 8.

Documentation

Read the documentation to install and use the bundle.

Contributing

Contributions are welcome: read CONTRIBUTING.md.

License

This bundle is released under the MIT license.