From 34f15df5671416bc96787bddaf9afdaafc1f5d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B0=D1=82=D0=BE=D0=BB=D0=B8=D0=B9=20=D0=9D?= =?UTF-8?q?=D0=B5=D1=85=D0=B0=D0=B9?= Date: Sat, 31 Dec 2022 02:52:12 +0100 Subject: [PATCH 1/2] update README.md --- README.md | 49 +------------------------------------------------ 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/README.md b/README.md index d4ebf6a..78e609a 100644 --- a/README.md +++ b/README.md @@ -1,48 +1 @@ -# HTTP factory for PHP 7.1+ based on PSR-17 - -[![Build Status](https://circleci.com/gh/sunrise-php/http-factory.svg?style=shield)](https://circleci.com/gh/sunrise-php/http-factory) -[![Code Coverage](https://scrutinizer-ci.com/g/sunrise-php/http-factory/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-factory/?branch=master) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/sunrise-php/http-factory/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-factory/?branch=master) -[![Total Downloads](https://poser.pugx.org/sunrise/http-factory/downloads?format=flat)](https://packagist.org/packages/sunrise/http-factory) -[![Latest Stable Version](https://poser.pugx.org/sunrise/http-factory/v/stable?format=flat)](https://packagist.org/packages/sunrise/http-factory) -[![License](https://poser.pugx.org/sunrise/http-factory/license?format=flat)](https://packagist.org/packages/sunrise/http-factory) - ---- - -## Installation - -```bash -composer require sunrise/http-factory -``` - -## How to use? - -```php -use Sunrise\Http\Factory\RequestFactory; -use Sunrise\Http\Factory\ResponseFactory; -use Sunrise\Http\Factory\ServerRequestFactory; -use Sunrise\Http\Factory\StreamFactory; -use Sunrise\Http\Factory\UploadedFileFactory; -use Sunrise\Http\Factory\UriFactory; - -// just use PSR-17 methods... -``` - -## Based on the following packages - -* https://github.com/sunrise-php/http-message -* https://github.com/sunrise-php/http-server-request -* https://github.com/sunrise-php/stream -* https://github.com/sunrise-php/uri - ---- - -## Test run - -```bash -composer test -``` - -## Useful links - -* https://www.php-fig.org/psr/psr-17/ +⚠️ This package was **moved** to the [http-message](https://github.com/sunrise-php/http-message) package and is abandoned. From 567059083b1c240c330e13f725a282883f622d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B0=D1=82=D0=BE=D0=BB=D0=B8=D0=B9=20=D0=9D?= =?UTF-8?q?=D0=B5=D1=85=D0=B0=D0=B9?= Date: Sat, 31 Dec 2022 02:52:18 +0100 Subject: [PATCH 2/2] update composer.json --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c052d3e..811580d 100644 --- a/composer.json +++ b/composer.json @@ -49,5 +49,6 @@ "phpdoc -d src/ -t phpdoc/", "XDEBUG_MODE=coverage phpunit --coverage-html coverage/" ] - } + }, + "abandoned": "sunrise/http-message" }