How To Install php-react-http on Fedora 36
Introduction
In this tutorial we learn how to install php-react-http
on Fedora 36.
What is php-react-http
Library for building an evented http server. This component builds on top of the Socket component to implement HTTP. Here are the main concepts * Server parses any incoming data as HTTP, emits a request event for each request. * Request data which was parsed from the request header. * Response A WritableStream which streams the response body. You can set the status code and response headers via the writeHead() method. Autoloader
We can use yum
or dnf
to install php-react-http
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-react-http.
Install php-react-http on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-react-http
using dnf
by running the following command:
sudo dnf -y install php-react-http
Install php-react-http on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-react-http
using yum
by running the following command:
sudo yum -y install php-react-http
How To Uninstall php-react-http on Fedora 36
To uninstall only the php-react-http
package we can use the following command:
sudo dnf remove php-react-http
php-react-http Package Contents on Fedora 36
/usr/share/doc/php-react-http
/usr/share/doc/php-react-http/CHANGELOG.md
/usr/share/doc/php-react-http/README.md
/usr/share/doc/php-react-http/composer.json
/usr/share/licenses/php-react-http
/usr/share/licenses/php-react-http/LICENSE
/usr/share/php/React/Http
/usr/share/php/React/Http/Browser.php
/usr/share/php/React/Http/Client
/usr/share/php/React/Http/Client/Client.php
/usr/share/php/React/Http/Client/Request.php
/usr/share/php/React/Http/Client/RequestData.php
/usr/share/php/React/Http/HttpServer.php
/usr/share/php/React/Http/Io
/usr/share/php/React/Http/Io/BufferedBody.php
/usr/share/php/React/Http/Io/ChunkedDecoder.php
/usr/share/php/React/Http/Io/ChunkedEncoder.php
/usr/share/php/React/Http/Io/CloseProtectionStream.php
/usr/share/php/React/Http/Io/EmptyBodyStream.php
/usr/share/php/React/Http/Io/HttpBodyStream.php
/usr/share/php/React/Http/Io/IniUtil.php
/usr/share/php/React/Http/Io/LengthLimitedStream.php
/usr/share/php/React/Http/Io/MiddlewareRunner.php
/usr/share/php/React/Http/Io/MultipartParser.php
/usr/share/php/React/Http/Io/PauseBufferStream.php
/usr/share/php/React/Http/Io/ReadableBodyStream.php
/usr/share/php/React/Http/Io/RequestHeaderParser.php
/usr/share/php/React/Http/Io/Sender.php
/usr/share/php/React/Http/Io/StreamingServer.php
/usr/share/php/React/Http/Io/Transaction.php
/usr/share/php/React/Http/Io/UploadedFile.php
/usr/share/php/React/Http/Message
/usr/share/php/React/Http/Message/Response.php
/usr/share/php/React/Http/Message/ResponseException.php
/usr/share/php/React/Http/Message/ServerRequest.php
/usr/share/php/React/Http/Middleware
/usr/share/php/React/Http/Middleware/LimitConcurrentRequestsMiddleware.php
/usr/share/php/React/Http/Middleware/RequestBodyBufferMiddleware.php
/usr/share/php/React/Http/Middleware/RequestBodyParserMiddleware.php
/usr/share/php/React/Http/Middleware/StreamingRequestMiddleware.php
/usr/share/php/React/Http/Server.php
/usr/share/php/React/Http/autoload.php
References
Summary
In this tutorial we learn how to install php-react-http
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).