1. Go to this page and download the library: Download componenta/clock library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Componenta\Clock\FrozenClock;
$clock = new FrozenClock('2026-06-07 12:00:00', 'UTC');
$clock->now(); // fixed point in time
$clock->advance('+1 day');
$clock->freeze('2026-06-10 09:00:00');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.