php-common-enums/http-method

Provides a backed enum for HTTP request methods

v1.0.0 2022-06-03 10:39 UTC

This package is auto-updated.

Last update: 2024-05-30 00:42:19 UTC


README

Provides a backed enum for HTTP request methods.

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/http-method

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