php-common-enums/hour-of-day

Provides a backed enum for hours of a day

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/php-common-enums/hour-of-day

v1.0.0 2022-06-02 17:36 UTC

This package is auto-updated.

Last update: 2025-09-29 02:59:15 UTC


README

Provides a backed enum for hours of the day.

Prerequisites

Since backed enumerations were introduced in PHP 8.1, you will need at least that version of PHP.

Installing

$ composer require php-common-enums/hour-of-day

Contributing

Please read CODE_OF_CONDUCT.md for details on our code of conduct.

Please read CONTRIBUTING.md for details on the process for submitting pull requests and/or new backed enums to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details