PHPackages                             php-common-enums/http-method - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. php-common-enums/http-method

ActiveLibrary[HTTP &amp; Networking](/categories/http)

php-common-enums/http-method
============================

Provides a backed enum for HTTP request methods

v1.0.0(4y ago)07911MITPHPPHP ^8.1

Since Jun 3Pushed 4y agoCompare

[ Source](https://github.com/php-common-enums/http-method)[ Packagist](https://packagist.org/packages/php-common-enums/http-method)[ RSS](/packages/php-common-enums-http-method/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

HTTP Request Method Enum
========================

[](#http-request-method-enum)

Provides a backed enum for HTTP request methods.

### Prerequisites

[](#prerequisites)

Since [backed enumerations](https://www.php.net/manual/en/language.enumerations.backed.php) were introduced in PHP 8.1, you will need at least that version of PHP.

### Installing

[](#installing)

```
$ composer require php-common-enums/http-method
```

Contributing
------------

[](#contributing)

Please read [CODE\_OF\_CONDUCT.md](https://github.com/php-common-enums/proposed-enums/blob/main/CODE_OF_CONDUCT.md) for details on our code of conduct.

Please read [CONTRIBUTING.md](https://github.com/php-common-enums/proposed-enums/blob/main/CONTRIBUTING.md) for details on the process for submitting pull requests and/or new backed enums to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/php-common-enums/http-method/tags).

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](https://github.com/php-common-enums/proposed-enums/blob/main/LICENSE) file for details

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1491d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/177d7a578364350db5f97944ec318a65a2c7575c5d1747eeee9f7dc1e3c1dc54?d=identicon)[php-common-enums](/maintainers/php-common-enums)

---

Top Contributors

[![gnito-org](https://avatars.githubusercontent.com/u/70450336?v=4)](https://github.com/gnito-org "gnito-org (2 commits)")

---

Tags

enum

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-common-enums-http-method/health.svg)

```
[![Health](https://phpackages.com/badges/php-common-enums-http-method/health.svg)](https://phpackages.com/packages/php-common-enums-http-method)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
