PHPackages                             mindfire/expiryfieldbundle - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. mindfire/expiryfieldbundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

mindfire/expiryfieldbundle
==========================

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration

44622[1 PRs](https://github.com/opensource-mindfire/Mindfire-ExpiryFieldBundle/pulls)PHP

Since Jan 29Pushed 10y ago4 watchersCompare

[ Source](https://github.com/opensource-mindfire/Mindfire-ExpiryFieldBundle)[ Packagist](https://packagist.org/packages/mindfire/expiryfieldbundle)[ RSS](/packages/mindfire-expiryfieldbundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mindfire ExpiryFieldBundle
==========================

[](#mindfire-expiryfieldbundle)

A Symfony2 Custom field type with month and year selectors which is useful for applications reading Expiry Month and Year inputs such as Credit Card Expiration.

Usage
-----

[](#usage)

In composer.json, add the repository and the bundle.

```
 "require": {
        "mindfire/expiryfieldbundle": "*"
    }

```

Register the bundle in AppKernel.php

```
new Mindfire\Bundle\ExpiryFieldBundle\MindfireExpiryFieldBundle(),
```

Add the parameter to specify the object manager:(Default value is `doctrine.orm.entity_manager`)

```
expiry.object_manager_id: doctrine_mongodb.odm.document_manager
```

In your form type,

```
$builder->add('ccExpiration', 'expiry');
```

License
-------

[](#license)

This bundle is available under the [MIT license](Resources/meta/LICENSE).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/40094e9b36f49fcf89c9093e6ef57c4083ccd47dda7764b259b734d2c6b96762?d=identicon)[mindfiresymfony](/maintainers/mindfiresymfony)

---

Top Contributors

[![mfsirameshk](https://avatars.githubusercontent.com/u/5749709?v=4)](https://github.com/mfsirameshk "mfsirameshk (12 commits)")[![raziel057](https://avatars.githubusercontent.com/u/652505?v=4)](https://github.com/raziel057 "raziel057 (5 commits)")[![sathees1kumar](https://avatars.githubusercontent.com/u/1281802?v=4)](https://github.com/sathees1kumar "sathees1kumar (3 commits)")

### Embed Badge

![Health badge](/badges/mindfire-expiryfieldbundle/health.svg)

```
[![Health](https://phpackages.com/badges/mindfire-expiryfieldbundle/health.svg)](https://phpackages.com/packages/mindfire-expiryfieldbundle)
```

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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