PHPackages                             kolemp/timecop-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. kolemp/timecop-bundle

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

kolemp/timecop-bundle
=====================

Easy symfony integration with https://github.com/hnw/php-timecop

0.4.1(7y ago)462.0k↓18.1%1MITPHP

Since Sep 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pkoltermann/timecop-bundle)[ Packagist](https://packagist.org/packages/kolemp/timecop-bundle)[ Docs](https://github.com/pkoltermann/timecop-bundle)[ RSS](/packages/kolemp-timecop-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (9)Used By (0)

Have your own tardis
====================

[](#have-your-own-tardis)

This is a very tiny symfony (2&amp;3) bundle that simplifies usage of [php-timecop](https://github.com/hnw/php-timecop). To use this extension you need a php server with configured `timecop.so` extension. In case of troubles with compilation I can provide some extra instructions.

Warning!
--------

[](#warning)

**Using this extension same as [php-timecop](https://github.com/hnw/php-timecop) alone can be very dangerous especially on production environment. Use it wisely.**

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

[](#installation)

```
composer require kolemp/timecop-bundle
```

Configuration
-------------

[](#configuration)

After installation add the bundle to `app/AppKernel.php`. By default the extension is disabled. To enable it add a section to `config.yml` for environments you want it to be enabled:

```
kolemp_timecop:
  enabled: true
```

Time sources
------------

[](#time-sources)

You can set the time by query parameter or the cookie. Both are named `fakeTime`. The value given must be compatibile with [relative date formats](http://php.net/manual/en/datetime.formats.relative.php). Example url: *example.com?fakeTime=+3 days*

### Disabling time source

[](#disabling-time-source)

You can disable any of time sources in config. By default all are enabled:

```
kolemp_timecop:
  queryParameter: true
  cookie: true
  header: true
```

### Source order

[](#source-order)

The time data is used in the following order: the header, the cookie, the query parameter.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.5% 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 ~103 days

Recently: every ~174 days

Total

8

Last Release

2799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/972bed112df08333c62bca999ea8cdaebfadefd1093d535ea0a6fe3752c1ef82?d=identicon)[pkoltermann](/maintainers/pkoltermann)

---

Top Contributors

[![pkoltermann](https://avatars.githubusercontent.com/u/2270156?v=4)](https://github.com/pkoltermann "pkoltermann (8 commits)")[![gpkoltermann](https://avatars.githubusercontent.com/u/11945784?v=4)](https://github.com/gpkoltermann "gpkoltermann (2 commits)")[![ssoerss](https://avatars.githubusercontent.com/u/15347308?v=4)](https://github.com/ssoerss "ssoerss (2 commits)")[![sstaniak](https://avatars.githubusercontent.com/u/17568617?v=4)](https://github.com/sstaniak "sstaniak (1 commits)")

---

Tags

timecoptimetravel

### Embed Badge

![Health badge](/badges/kolemp-timecop-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kolemp-timecop-bundle/health.svg)](https://phpackages.com/packages/kolemp-timecop-bundle)
```

###  Alternatives

[ircmaxell/php-math-parser

A simple shunting-yard based math parser and executor for PHP

2916.7k](/packages/ircmaxell-php-math-parser)[bmcclure/cakephp-media-plugin

CakePHP Media Plugin

591.4k](/packages/bmcclure-cakephp-media-plugin)

PHPackages © 2026

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