Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ericsizemore/clock

Yet another clock abstraction, implementing PSR-20.
https://github.com/ericsizemore/clock

clock clock-implementation clock-interface psr-20 psr20 time

Last synced: 4 days ago
JSON representation

Yet another clock abstraction, implementing PSR-20.

Awesome Lists containing this project

README

        

# Clock

[![Build Status](https://scrutinizer-ci.com/g/ericsizemore/clock/badges/build.png?b=master)](https://scrutinizer-ci.com/g/ericsizemore/clock/build-status/master)
[![Code Coverage](https://scrutinizer-ci.com/g/ericsizemore/clock/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/ericsizemore/clock/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/ericsizemore/clock/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/ericsizemore/clock/?branch=master)
[![Tests](https://github.com/ericsizemore/clock/actions/workflows/tests.yml/badge.svg)](https://github.com/ericsizemore/clock/actions/workflows/tests.yml)
[![PHPStan](https://github.com/ericsizemore/clock/actions/workflows/main.yml/badge.svg)](https://github.com/ericsizemore/clock/actions/workflows/main.yml)
[![Psalm Static analysis](https://github.com/ericsizemore/clock/actions/workflows/psalm.yml/badge.svg?branch=master)](https://github.com/ericsizemore/clock/actions/workflows/psalm.yml)
[![Type Coverage](https://shepherd.dev/github/ericsizemore/clock/coverage.svg)](https://shepherd.dev/github/ericsizemore/clock)
[![Psalm Level](https://shepherd.dev/github/ericsizemore/clock/level.svg)](https://shepherd.dev/github/ericsizemore/clock)
[![Latest Stable Version](https://img.shields.io/packagist/v/esi/clock.svg)](https://packagist.org/packages/esi/clock)
[![Downloads per Month](https://img.shields.io/packagist/dm/esi/clock.svg)](https://packagist.org/packages/esi/clock)
[![License](https://img.shields.io/packagist/l/esi/clock.svg)](https://packagist.org/packages/esi/clock)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fericsizemore%2Fclock%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/ericsizemore/clock/master)
[![SymfonyInsight](https://insight.symfony.com/projects/9898b62b-7fed-42be-b34e-5f9ce3e28f2d/mini.svg)](https://insight.symfony.com/projects/9898b62b-7fed-42be-b34e-5f9ce3e28f2d)

Yet ...another... PSR-20 Clock implementation.

## Installation

### Composer

The script can be installed using composer. Add this repository as a dependency to the composer.json file.

```bash
$ composer require esi/clock:^1.0
```

## Usage

* See [USAGE.md](USAGE.md).

## About

### Requirements

- Clock works with PHP 8.2.0 or above.

### Submitting bugs and feature requests

Bugs and feature requests are tracked on [GitHub](https://github.com/ericsizemore/clock/issues)

Issues are the quickest way to report a bug. If you find a bug or documentation error, please check the following first:

* That there is not an Issue already open concerning the bug
* That the issue has not already been addressed (within closed Issues, for example)

### Contributing

* See [CONTRIBUTING](CONTRIBUTING.md)

### Backward Compatibility Promise

* See [backward-compatibility.md](backward-compatibility.md)

### Author

Eric Sizemore - -

### License

Clock is licensed under the MIT [License](LICENSE).