From b24ce67f7f45109843d3abccad6eadf9c47b29a8 Mon Sep 17 00:00:00 2001 From: Meezaan-ud-Din Date: Tue, 15 Jan 2019 11:50:38 +0000 Subject: [PATCH] replaced zend libraries with Slim --- composer.json | 3 +-- src/Proxy.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index eedb3d8..3ff748a 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,7 @@ "psr/http-message": "^1.0", "guzzlehttp/guzzle": "^6.0", "relay/relay": "^1.0", - "zendframework/zend-httphandlerrunner": "^1.0", - "zendframework/zend-diactoros": "^2.1" + "slim/slim": "^3.11" }, "require-dev": { "phpunit/phpunit": "^5.0|^6.0|^7.0", diff --git a/src/Proxy.php b/src/Proxy.php index 3247961..4f41b0c 100644 --- a/src/Proxy.php +++ b/src/Proxy.php @@ -7,8 +7,8 @@ use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Relay\RelayBuilder; -use Zend\Diactoros\Response; -use Zend\Diactoros\Uri; +use Slim\Http\Response; +use Slim\Http\Uri; class Proxy {