How To Install php-laminas-text on Fedora 36
Introduction
In this tutorial we learn how to install php-laminas-text
on Fedora 36.
What is php-laminas-text
Laminas\Text is a component to work on text strings. It contains the subcomponents * Laminas\Text\Figlet that enables developers to create a so called FIGlet text. A FIGlet text is a string, which is represented as ASCII art. FIGlets use a special font format, called FLT (FigLet Font). By default, one standard font is shipped with Laminas\Text\Figlet, but you can download additional fonts here * Laminas\Text\Table to create text based tables on the fly with different decorators. This can be helpful, if you either want to send structured data in text emails, which are used to have mono-spaced fonts, or to display table information in a CLI application. Laminas\Text\Table supports multi-line columns, colspan and align as well. Documentation
We can use yum
or dnf
to install php-laminas-text
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-laminas-text.
Install php-laminas-text 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-laminas-text
using dnf
by running the following command:
sudo dnf -y install php-laminas-text
Install php-laminas-text 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-laminas-text
using yum
by running the following command:
sudo yum -y install php-laminas-text
How To Uninstall php-laminas-text on Fedora 36
To uninstall only the php-laminas-text
package we can use the following command:
sudo dnf remove php-laminas-text
php-laminas-text Package Contents on Fedora 36
/usr/share/doc/php-laminas-text
/usr/share/doc/php-laminas-text/COPYRIGHT.md
/usr/share/doc/php-laminas-text/README.md
/usr/share/doc/php-laminas-text/composer.json
/usr/share/licenses/php-laminas-text
/usr/share/licenses/php-laminas-text/LICENSE
/usr/share/php/Laminas/Text
/usr/share/php/Laminas/Text/Exception
/usr/share/php/Laminas/Text/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Text/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Text/Exception/OutOfBoundsException.php
/usr/share/php/Laminas/Text/Exception/OverflowException.php
/usr/share/php/Laminas/Text/Exception/RuntimeException.php
/usr/share/php/Laminas/Text/Exception/UnexpectedValueException.php
/usr/share/php/Laminas/Text/Figlet
/usr/share/php/Laminas/Text/Figlet/Exception
/usr/share/php/Laminas/Text/Figlet/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Text/Figlet/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Text/Figlet/Exception/RuntimeException.php
/usr/share/php/Laminas/Text/Figlet/Exception/UnexpectedValueException.php
/usr/share/php/Laminas/Text/Figlet/Figlet.php
/usr/share/php/Laminas/Text/Figlet/laminas-project.flf
/usr/share/php/Laminas/Text/MultiByte.php
/usr/share/php/Laminas/Text/Table
/usr/share/php/Laminas/Text/Table/Column.php
/usr/share/php/Laminas/Text/Table/Decorator
/usr/share/php/Laminas/Text/Table/Decorator/Ascii.php
/usr/share/php/Laminas/Text/Table/Decorator/Blank.php
/usr/share/php/Laminas/Text/Table/Decorator/DecoratorInterface.php
/usr/share/php/Laminas/Text/Table/Decorator/Unicode.php
/usr/share/php/Laminas/Text/Table/DecoratorManager.php
/usr/share/php/Laminas/Text/Table/Exception
/usr/share/php/Laminas/Text/Table/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Text/Table/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Text/Table/Exception/InvalidDecoratorException.php
/usr/share/php/Laminas/Text/Table/Exception/OutOfBoundsException.php
/usr/share/php/Laminas/Text/Table/Exception/OverflowException.php
/usr/share/php/Laminas/Text/Table/Exception/UnexpectedValueException.php
/usr/share/php/Laminas/Text/Table/Row.php
/usr/share/php/Laminas/Text/Table/Table.php
/usr/share/php/Laminas/Text/autoload.php
/usr/share/php/Zend/Text
/usr/share/php/Zend/Text/autoload.php
References
Summary
In this tutorial we learn how to install php-laminas-text
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).