Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/quillstack/datetime
- Owner: quillstack
- License: mit
- Created: 2022-01-16T20:45:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-19T22:03:25.000Z (almost 3 years ago)
- Last Synced: 2024-05-17T17:42:26.693Z (8 months ago)
- Topics: date, datetime, php, php8, time
- Language: PHP
- Homepage: https://quillstack.org/datetime
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```