Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ericsizemore/clock
- Owner: ericsizemore
- License: mit
- Created: 2024-04-08T18:23:52.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-10-30T05:29:23.000Z (21 days ago)
- Last Synced: 2024-10-30T08:36:46.983Z (21 days ago)
- Topics: clock, clock-implementation, clock-interface, psr-20, psr20, time
- Language: PHP
- Homepage:
- Size: 362 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
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).