https://github.com/mguinea/psr-20
PSR-20 Implementation
https://github.com/mguinea/psr-20
psr-20
Last synced: 4 months ago
JSON representation
PSR-20 Implementation
- Host: GitHub
- URL: https://github.com/mguinea/psr-20
- Owner: mguinea
- License: mit
- Created: 2024-03-29T10:24:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-30T20:50:18.000Z (about 1 year ago)
- Last Synced: 2025-01-02T17:49:43.248Z (6 months ago)
- Topics: psr-20
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PSR-20 Implementation
[](https://github.com/mguinea/psr-20/releases)
[](LICENSE)
[](https://github.com/mguinea/psr-20/actions/workflows/tests.yml?query=branch%3Amain)A PSR-20 Implementation
## Installation
```bash
composer install mguinea/psr-20
```## Usage
### Create a clock and retrieve DateTimeImmutable
```php
now(); // $now is an instance of DateTimeImmutable
```## Test
Run phpunit suite
```bash
./vendor/bin/phpunit tests
```