Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A PSR-7/PSR-17 HTTP message and factory implementation

License

NotificationsYou must be signed in to change notification settings

chillerlan/psr-7

Repository files navigation

APSR-7/PSR-17 HTTP message and factory implementation.

PHP Version SupportPackagist versionLicenseContinuous IntegrationCodeCovCodacyPackagist downloads

Overview

Features

Requirements

Documentation

The documentation of the PSR-7 interfaces can be found over athttps://www.php-fig.org/psr/psr-7/.

NOTE: This library has abandoned the paranoid "value object" "immuatbility" that is dictated by PSR-7 for it is horseshit.The pseudo-immutability gets in the way more often (always) than it is useful (never) and creates endless overhead.If you want your objects to be immutable for whatever reason, just fucking clone them and don't force countless librariesto do that for you instead. If you don't like it, just use Guzzle instead (spoiler: you won't notice the difference).

Auto generated API documentation

The API documentation can be auto generated withphpDocumentor.There is anonline version available via thegh-pages branch that isautomatically deployed on each push to main.

Locally created docs will appear in.build/phpdocs/. If you'd like to create local docs, please follow these steps:

  • download phpDocumentor v3+ as .phar archive
  • run it in the repository root directory:
    • on Windowsc:\path\to\php.exe c:\path\to\phpDocumentor.phar --config=phpdoc.xml
    • on Linux justphp /path/to/phpDocumentor.phar --config=phpdoc.xml
  • openindex.html in a browser
  • profit!

Disclaimer

Use at your own risk!

License information

This library contains portions of code (tests) from the following libraries:


[8]ページ先頭

©2009-2025 Movatter.jp