Statistics
6113
11
1
6d
Badges
Tags
http
Dependencies

PSR-7 - Http Message Interface

💫 PSR #7 [HTTP Message Interface] to Nette Framework.


Build Status Code coverage Licence

Downloads this Month Downloads total Latest stable

Discussion / Help

Join the chat

Install

composer require contributte/psr7-http-message

Versions

State Version Branch PHP
stable ^0.1 master >= 5.6

Prolog

Middleware / Relay pattern is widely used for handling any HTTP requests, such as API request, streams, dynamic websites or just any suitable requests.

We have a many solutions and prepared libraries in PHP world.

This packages is based on great a probably best known library for PSR-7, it's called guzzle/psr-7.

Other libraries:

Overview


The development is sponsored by Tlapnet. Thank you guys! 👍


Thank you for testing, reporting and contributing.

  • v0.2 v0.2

    Bump! 🔡

    Diff: v0.1.4...v0.2

    Changes:

    • added request/response factories (Request::of($request)
    • added some useful methods: appendBody, writeBody, writeJsonBody, getContents, getJsonBody, hasQueryParam, getQueryParam, withAttributes
    • added huge amount of tests
  • v0.1.3 v0.1.3

    Bump!

    Changes:

    • create ServerRequest with cookies, query params, post and upload files
  • v0.1.4 v0.1.4

    Bumped! 🍯

    Changes:

    • fixed handling uploaded files [#2]
  • v0.1.2 v0.1.2

    Bumped! 🔪

    Changes:

    • added Psr7ServerRequestFactory
    • fix Psr7RequestFactory headers
    • added NetteHttpTrait
    • relax composer dependencies
  • v0.1.1 v0.1.1

    Bumped! 🍯

    Changes:

    • some Q&A changes
    • fix RequestFactory with Nette\Http\Request
  • v0.1 v0.1

    First bump! 👊

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com