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

44592[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 today

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

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

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M446](/packages/nette-forms)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)

PHPackages © 2026

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