mguinea/psr-20

A strict implementation of PSR-20 standard

1.0.0 2024-03-30 14:51 UTC

This package is auto-updated.

Last update: 2024-04-30 20:59:09 UTC


README

Latest Version Software License Tests

A PSR-20 Implementation

Installation

composer install mguinea/psr-20

Usage

Create a clock and retrieve DateTimeImmutable

<?php

use Mguinea\Psr20\Clock;

$now = (new Clock())->now(); // $now is an instance of DateTimeImmutable

Test

Run phpunit suite

./vendor/bin/phpunit tests