How To Install php-brick-varexporter on Fedora 36
Introduction
In this tutorial we learn how to install php-brick-varexporter
on Fedora 36.
What is php-brick-varexporter
This library aims to provide a prettier, safer, and powerful alternative to var_export(). The output is valid and standalone PHP code, that does not depend on the brick/varexporter library. Autoloader
We can use yum
or dnf
to install php-brick-varexporter
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-brick-varexporter.
Install php-brick-varexporter 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-brick-varexporter
using dnf
by running the following command:
sudo dnf -y install php-brick-varexporter
Install php-brick-varexporter 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-brick-varexporter
using yum
by running the following command:
sudo yum -y install php-brick-varexporter
How To Uninstall php-brick-varexporter on Fedora 36
To uninstall only the php-brick-varexporter
package we can use the following command:
sudo dnf remove php-brick-varexporter
php-brick-varexporter Package Contents on Fedora 36
/usr/share/doc/php-brick-varexporter
/usr/share/doc/php-brick-varexporter/README.md
/usr/share/doc/php-brick-varexporter/composer.json
/usr/share/licenses/php-brick-varexporter
/usr/share/licenses/php-brick-varexporter/LICENSE
/usr/share/php/Brick
/usr/share/php/Brick/VarExporter
/usr/share/php/Brick/VarExporter/ExportException.php
/usr/share/php/Brick/VarExporter/Internal
/usr/share/php/Brick/VarExporter/Internal/GenericExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/AnyObjectExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/ClosureExporter
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/ClosureExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/ClosureExporter/PrettyPrinter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/InternalClassExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/SerializeExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/SetStateExporter.php
/usr/share/php/Brick/VarExporter/Internal/ObjectExporter/StdClassExporter.php
/usr/share/php/Brick/VarExporter/VarExporter.php
/usr/share/php/Brick/VarExporter/autoload.php
References
Summary
In this tutorial we learn how to install php-brick-varexporter
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).