Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/quillstack/datetime

A basic library to use a state object of time in PHP.
https://github.com/quillstack/datetime

date datetime php php8 time

Last synced: about 2 months ago
JSON representation

A basic library to use a state object of time in PHP.

Awesome Lists containing this project

README

        

# Quillstack Datetime

[![Build Status](https://app.travis-ci.com/quillstack/datetime.svg?branch=main)](https://app.travis-ci.com/quillstack/datetime)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=quillstack_datetime&metric=coverage)](https://sonarcloud.io/summary/new_code?id=quillstack_datetime)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=quillstack_datetime&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=quillstack_datetime)
[![StyleCI](https://github.styleci.io/repos/448668877/shield?branch=main)](https://github.styleci.io/repos/448668877?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/quillstack/datetime/badge)](https://www.codefactor.io/repository/github/quillstack/datetime)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=quillstack_datetime&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=quillstack_datetime)
[![Maintainability](https://api.codeclimate.com/v1/badges/8f84e6357c542fba9612/maintainability)](https://codeclimate.com/github/quillstack/datetime/maintainability)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=quillstack_datetime&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=quillstack_datetime)

A basic library to use a state object of time in PHP.

### Unit tests

Run tests using a command:

```
phpdbg -qrr ./vendor/bin/unit-tests
```

### Docker

```shell
$ docker-compose up -d
$ docker exec -w /var/www/html -it quillstack_datetime sh
```