Download the PHP package effectra/http-factory without Composer
On this page you can find all versions of the php package effectra/http-factory. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download effectra/http-factory
More information about effectra/http-factory
Files in effectra/http-factory
Package http-factory
Short Description The Effectra HTTP Factory package.
License MIT
Informations about the package http-factory
Effectra HTTP Factory
Effectra HTTP Factory is a PHP library that provides factory classes for creating PSR-7 compliant HTTP message objects. It follows the PSR-17 standard for HTTP factories, ensuring interoperability and compatibility with other PSR-7 compliant libraries and frameworks.
Features
- Factory classes for creating PSR-7 compliant HTTP message objects.
- Implementation of the
psr/http-factory
interfaces. - Easy creation of HTTP messages such as requests, responses, URIs, and more.
Requirements
- PHP 7.2 or higher
Installation
You can install the library using Composer. Run the following command in your project directory:
Usage
Creating a Stream with StreamFactory
Creating a Request with RequestFactory
Creating a ServerRequest with ServerRequestFactory
Creating a Response with ResponseFactory
Creating a Uri with UriFactory
For more examples and detailed usage instructions, please refer to the documentation.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the GitHub repository.
License
Effectra HTTP Factory is open-source software licensed under the MIT license.
Thank you for using the Effectra HTTP Factory library. If you have any questions or need further assistance, feel free to reach out to us.