Download the PHP package initphp/http-factory without Composer
On this page you can find all versions of the php package initphp/http-factory. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download initphp/http-factory
More information about initphp/http-factory
Files in initphp/http-factory
Package http-factory
Short Description PSR17 HTTP Factory Library (DEPRECATED — merged into initphp/http:^2.2)
License MIT
Informations about the package http-factory
HTTPFactory
⚠️ DEPRECATED — Use
initphp/httpinsteadAs part of the InitPHP package consolidation, this package has been merged into
initphp/httpstarting with version 2.2. The consolidated package ships its own PSR-17 factory under\InitPHP\HTTP\Factory\Factory.This repository is kept read-only for historical reference. No further updates will be released.
Why this package no longer works
\InitPHP\HTTPFactory\HTTPFactorywas written againstinitphp/http:^1.x, which used the flat\InitPHP\HTTP\*namespace. Ininitphp/http:^2.0those classes moved to\InitPHP\HTTP\Message\*, so this package'susestatements no longer resolve.Migration
Your existing imports keep working:
initphp/http:^2.2ships aclass_aliasso\InitPHP\HTTPFactory\HTTPFactoryremains resolvable. Composer also declares areplacefor this package, so the two will not be installed side-by-side.When you next touch the code, prefer the canonical class:
PSR-17 HTTP Factory Library
Requirements
- PHP 7.4 or higher
- PSR-17 HTTP Factory Package
- InitPHP HTTP Library
Installation
Usage
Credits
License
Copyright © 2022 MIT License