PHPackages                             phprise/http-contract - 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. phprise/http-contract

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

phprise/http-contract
=====================

This is an Atomic Repository based on the OTAKU Manifesto.

v1.0.1(5mo ago)0514MITPHPPHP ^8.4

Since Jan 8Pushed 5mo agoCompare

[ Source](https://github.com/phprise-foundation/http-contract)[ Packagist](https://packagist.org/packages/phprise/http-contract)[ RSS](/packages/phprise-http-contract/feed)WikiDiscussions 1.x Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (4)

PHPRise HTTP Contract
=====================

[](#phprise-http-contract)

This is an [Atomic Repository](PHILOSOPHY.md#1-atomic-repositories-the-atom) based on the [OTAKU Manifesto](PHILOSOPHY.md).

The objective of this repository is to provide a standardized set of HTTP request interfaces for the PHPRise ecosystem, ensuring consistent behavior across different connectors and adapters.

Installation
------------

[](#installation)

```
composer require phprise/http-contract
```

Usage
-----

[](#usage)

These interfaces define the structure for specialized HTTP requests (Store, Update, List, etc.).

```
use Phprise\Http\Contract\StoreRequestInterface;
use Phprise\DataTransferObject\TransferObjectInterface;

class MyStoreRequest implements StoreRequestInterface
{
    public function payload(): TransferObjectInterface
    {
        // implementation
    }

    // ... Psr\Http\Message\RequestInterface implementation
}
```

Philosophy
----------

[](#philosophy)

We follow **The OTAKU Manifesto: Fluid Structure Design**.

1. **O** - Own your Discipline (Be strict with yourself)
2. **T** - Tools for Composition (Compose like Unix)
3. **A** - Armor the Core (Protect the heart of the business)
4. **K** - Keep Infrastructure Silent (Infrastructure is just a detail)
5. **U** - Universal Language &amp; Contracts (Speak the user's language via clear contracts)

Please read more about it in [PHILOSOPHY.md](PHILOSOPHY.md).

License
-------

[](#license)

MIT License

Free to use, modify, and distribute.

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

[](#contributing)

See how to contribute in [CONTRIBUTING.md](CONTRIBUTING.md).

Code of Conduct
---------------

[](#code-of-conduct)

See our code of conduct in [CODE\_OF\_CONDUCT.md](CODE_OF_CONDUCT.md).

Security
--------

[](#security)

See our security policy in [SECURITY.md](SECURITY.md).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance70

Regular maintenance activity

Popularity5

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~1 days

Total

3

Last Release

175d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b1815540bc9ab8012b61aa12e1a35025d9a0b11a1642977192fd173b6bfc5aa?d=identicon)[esdras-schonevald](/maintainers/esdras-schonevald)

![](https://avatars.githubusercontent.com/u/7256223?v=4)[Wallace S Ferreira](/maintainers/wallaceSF)[@wallaceSF](https://github.com/wallaceSF)

![](https://avatars.githubusercontent.com/u/82953667?v=4)[João Ricardo](/maintainers/johnnricardo)[@johnnricardo](https://github.com/johnnricardo)

---

Top Contributors

[![esdrasprogramer](https://avatars.githubusercontent.com/u/93490691?v=4)](https://github.com/esdrasprogramer "esdrasprogramer (1 commits)")[![joao-ricardo-split](https://avatars.githubusercontent.com/u/151050546?v=4)](https://github.com/joao-ricardo-split "joao-ricardo-split (1 commits)")[![johnnricardo](https://avatars.githubusercontent.com/u/82953667?v=4)](https://github.com/johnnricardo "johnnricardo (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phprise-http-contract/health.svg)

```
[![Health](https://phpackages.com/badges/phprise-http-contract/health.svg)](https://phpackages.com/packages/phprise-http-contract)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

185702.8k44](/packages/laudis-neo4j-php-client)

PHPackages © 2026

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