PHPackages                             illchuk/time-normalize - 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. illchuk/time-normalize

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

illchuk/time-normalize
======================

A basic validator and filter for time input.

v0.1.1(8y ago)035MITPHPPHP ^5.5|^7.0

Since Oct 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dillchuk/TimeNormalize)[ Packagist](https://packagist.org/packages/illchuk/time-normalize)[ Docs](https://github.com/dillchuk/TimeNormalize)[ RSS](/packages/illchuk-time-normalize/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

TimeNormalize
=============

[](#timenormalize)

A basic validator and filter for time input.

[![Build Status](https://camo.githubusercontent.com/cf1d72925de66be46784c14e5ce0b5ede8c8938ed77af60f829ab770e721789b/68747470733a2f2f7472617669732d63692e6f72672f64696c6c6368756b2f54696d654e6f726d616c697a652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dillchuk/TimeNormalize)

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

[](#installation)

Install with `composer require illchuk/time-normalize`.

You may install in your ZendFramework app by adding to your `modules.config.php` the following:

```
return [..., 'TimeNormalize' ,...]; // validator and filter both called 'Time'

```

Or use in a direct fashion:

```
use TimeNormalize\Validator\Time as TimeValidator;
use TimeNormalize\Filter\Time as TimeFilter;

$validator = new TimeValidator;
echo $validator->isValid('12:34am'); // true
echo $validator->isValid('12:34jm'); // false

$filter = new TimeFilter;
echo $filter->filter('12:34 am'); // '00:34'
echo $filter->filter('12:34 pm'); // '12:34'
echo $filter->filter('junk'); // 'junk'

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

2

Last Release

3123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36c24140c7709b9015bdb1d58f0937b0c72801a63ae4b32cc18ba3f71a1eaa23?d=identicon)[dillchuk](/maintainers/dillchuk)

---

Top Contributors

[![dillchuk](https://avatars.githubusercontent.com/u/11740626?v=4)](https://github.com/dillchuk "dillchuk (8 commits)")

---

Tags

timeZendFrameworkzf2zf3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/illchuk-time-normalize/health.svg)

```
[![Health](https://phpackages.com/badges/illchuk-time-normalize/health.svg)](https://phpackages.com/packages/illchuk-time-normalize)
```

###  Alternatives

[hrevert/ht-img-module

Image manipulation module for Zend Framework 2

1829.6k2](/packages/hrevert-ht-img-module)[san/san-captcha

Laminas Sample For Captcha

106.5k](/packages/san-san-captcha)[radnan/rdn-upload

Zend Framework 2/3 module to manage file uploads easily and securely

177.4k](/packages/radnan-rdn-upload)

PHPackages © 2026

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