How To Install php-stack-builder on Fedora 36
Introduction
In this tutorial we learn how to install php-stack-builder
on Fedora 36.
What is php-stack-builder
Builder for stack middlewares based on HttpKernelInterface. Stack/Builder is a small library that helps you construct a nested HttpKernelInterface decorator tree. It models it as a stack of middlewares. Autoloader
We can use yum
or dnf
to install php-stack-builder
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-stack-builder.
Install php-stack-builder 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-stack-builder
using dnf
by running the following command:
sudo dnf -y install php-stack-builder
Install php-stack-builder 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-stack-builder
using yum
by running the following command:
sudo yum -y install php-stack-builder
How To Uninstall php-stack-builder on Fedora 36
To uninstall only the php-stack-builder
package we can use the following command:
sudo dnf remove php-stack-builder
php-stack-builder Package Contents on Fedora 36
/usr/share/doc/php-stack-builder
/usr/share/doc/php-stack-builder/CHANGELOG.md
/usr/share/doc/php-stack-builder/README.md
/usr/share/doc/php-stack-builder/composer.json
/usr/share/licenses/php-stack-builder
/usr/share/licenses/php-stack-builder/LICENSE
/usr/share/php/Stack
/usr/share/php/Stack/Builder.php
/usr/share/php/Stack/StackedHttpKernel.php
/usr/share/php/Stack/autoload-builder.php
References
Summary
In this tutorial we learn how to install php-stack-builder
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).