PHPackages                             hanhan-chen/utilities-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. hanhan-chen/utilities-bundle

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

hanhan-chen/utilities-bundle
============================

A Symfony bundle with various utilities (Twig filters, helpers, etc.)

2.0.1(10mo ago)00MITPHPPHP &gt;=8.2

Since Jul 18Pushed 9mo agoCompare

[ Source](https://github.com/Hanhan1989/utilities-bundle)[ Packagist](https://packagist.org/packages/hanhan-chen/utilities-bundle)[ RSS](/packages/hanhan-chen-utilities-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

Symfony Utilities Bundle
========================

[](#symfony-utilities-bundle)

A Symfony bundle that provides utilities for handling dates and time, such as Twig filters and reusable helpers, including translating day and month names.

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

[](#installation)

Install the latest version with

```
composer require hanhan-chen/utilities-bundle
```

Basic Usage
-----------

[](#basic-usage)

```
{{ 'Monday' |translate_day('es') }}      {# → Monday translated to Spanish: "Lunes" #}
{{ 'Tuesday'|translate_day }}            {# → Automatically uses the current locale, e.g., "Martes" if locale is "es" #}
{{ 'January'|translate_month }}          {# → Automatically uses the current locale, e.g., "Enero" if locale is "es" #}
```

Development &amp; Testing
-------------------------

[](#development--testing)

If you want to develop or run tests (`phpunit`) for this bundle, you need to install some dev dependencies including PHPUnit.

Run this in your bundle folder after cloning:

```
composer install
```

Then you can run tests with:

```
vendor/bin/phpunit
```

### Author

[](#author)

Hanhan Chen (Stack Overflow) -

### Support Utilities Bundle Financially

[](#support-utilities-bundle-financially)

[![Donate](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/donate/?hosted_button_id=P4L8SBXH34V2C)

### License

[](#license)

Utilities Bundle is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance55

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

300d ago

Major Versions

1.0.0 → 2.0.02025-07-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/92688201929ae72a9e843f6e2f3c48264b0dc60d9e6fe952e49643c6a7cd914c?d=identicon)[hanhan](/maintainers/hanhan)

---

Top Contributors

[![Hanhan1989](https://avatars.githubusercontent.com/u/11807165?v=4)](https://github.com/Hanhan1989 "Hanhan1989 (24 commits)")

### Embed Badge

![Health badge](/badges/hanhan-chen-utilities-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/hanhan-chen-utilities-bundle/health.svg)](https://phpackages.com/packages/hanhan-chen-utilities-bundle)
```

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[sylius/taxonomy-bundle

Flexible categorization system for Symfony.

26388.2k7](/packages/sylius-taxonomy-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[sylius/inventory-bundle

Flexible inventory management for Symfony applications.

19176.7k4](/packages/sylius-inventory-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
