2017 © Pedro Peláez
 

library psr7wrapper

Wrap Request/Response-Objects from different frameworks into a PSR7-compliant envelope

image

org_heigl/psr7wrapper

Wrap Request/Response-Objects from different frameworks into a PSR7-compliant envelope

  • Friday, April 1, 2016
  • by heiglandreas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Org_Heigl\Psr7Wrapper

A library to mimick PSR7 behaviours to Request- or Response-Objects of different Frameworks., (*1)

During my work I came accross the need to wrap a ZendFramework1-Request into a PSR7-Request. As I couldn't find a lib that did that I had to write my own one., (*2)

Installation

composer require org_heigl/psr7wrapper

Usage

use Org_Heigl\Psr7Wrapper\Wrapper\Zf1\RequestWrapper;
use Org_Heigl\Psr7Wrapper\Wrapper\Zf1\ResponseWrapper;

class DemoController Extends Zend_Controller_Abstract
{
    public function testAction()
    {
        $request = new RequestWrapper($this->getRequest());
        $request = new ResponseWrapper($this->getResponse());
    }
}

The Versions

01/04 2016

dev-master

9999999-dev

Wrap Request/Response-Objects from different frameworks into a PSR7-compliant envelope

  Sources   Download

MIT

The Requires

 

The Development Requires

01/04 2016

1.0.0

1.0.0.0

Wrap Request/Response-Objects from different frameworks into a PSR7-compliant envelope

  Sources   Download

MIT

The Requires

 

The Development Requires