承接 phprise/http-contract 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phprise/http-contract

最新稳定版本:v1.0.1

Composer 安装命令:

composer require phprise/http-contract

包简介

This is an Atomic Repository based on the OTAKU Manifesto.

README 文档

README

This is an Atomic Repository based on the OTAKU Manifesto.

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

composer require phprise/http-contract

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

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 & Contracts (Speak the user's language via clear contracts)

Please read more about it in PHILOSOPHY.md.

License

MIT License

Free to use, modify, and distribute.

Contributing

See how to contribute in CONTRIBUTING.md.

Code of Conduct

See our code of conduct in CODE_OF_CONDUCT.md.

Security

See our security policy in SECURITY.md.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固