aurora/http-transaction

HTTP Transaction manage a request to a response workflow

0.1.1 2018-01-23 10:34 UTC

This package is auto-updated.

Last update: 2024-11-19 09:57:28 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License Aurora Http

HTTP Transaction manage a request to a response workflow. The workflow includes accept a request, apply HTTP request filters, apply HTTP middlewares, apply HTTP response filters and returns a response. The library support PSR-7.

Installation

It's recommended that you use Composer to install this library.

$ composer require aurora/http-transaction

This will install the library and all required dependencies. The library requires PHP 7.0 or newer.

Workflow

        ------ request  ---- Filter --->       
       |                               |    
   Transaction                    Middleware 
       |                               |
        <----- response ---- Filter ---- 

Usage

License

The HTTP Transaction is open-sourced software licensed under the MIT license.