How To Install php-behat-mink on Fedora 36
Introduction
In this tutorial we learn how to install php-behat-mink
on Fedora 36.
What is php-behat-mink
One of the most important parts in the web is a browser. Browser is the window through which web users interact with web applications and other users. Users are always talking with web applications through browsers. So, in order to test that our web application behaves correctly, we need a way to simulate this interaction between the browser and the web application in our tests. We need a Mink. Mink is an open source browser controller/emulator for web applications, written in PHP. Read Mink at a Glance [1] to learn more about Mink and why you need it. Autoloader [1] http
We can use yum
or dnf
to install php-behat-mink
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-behat-mink.
Install php-behat-mink 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-behat-mink
using dnf
by running the following command:
sudo dnf -y install php-behat-mink
Install php-behat-mink 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-behat-mink
using yum
by running the following command:
sudo yum -y install php-behat-mink
How To Uninstall php-behat-mink on Fedora 36
To uninstall only the php-behat-mink
package we can use the following command:
sudo dnf remove php-behat-mink
php-behat-mink Package Contents on Fedora 36
/usr/share/doc/php-behat-mink
/usr/share/doc/php-behat-mink/CHANGES.md
/usr/share/doc/php-behat-mink/CONTRIBUTING.md
/usr/share/doc/php-behat-mink/README.md
/usr/share/doc/php-behat-mink/composer.json
/usr/share/licenses/php-behat-mink
/usr/share/licenses/php-behat-mink/LICENSE
/usr/share/php/Behat
/usr/share/php/Behat/Mink
/usr/share/php/Behat/Mink/Driver
/usr/share/php/Behat/Mink/Driver/CoreDriver.php
/usr/share/php/Behat/Mink/Driver/DriverInterface.php
/usr/share/php/Behat/Mink/Element
/usr/share/php/Behat/Mink/Element/DocumentElement.php
/usr/share/php/Behat/Mink/Element/Element.php
/usr/share/php/Behat/Mink/Element/ElementInterface.php
/usr/share/php/Behat/Mink/Element/NodeElement.php
/usr/share/php/Behat/Mink/Element/TraversableElement.php
/usr/share/php/Behat/Mink/Exception
/usr/share/php/Behat/Mink/Exception/DriverException.php
/usr/share/php/Behat/Mink/Exception/ElementException.php
/usr/share/php/Behat/Mink/Exception/ElementHtmlException.php
/usr/share/php/Behat/Mink/Exception/ElementNotFoundException.php
/usr/share/php/Behat/Mink/Exception/ElementTextException.php
/usr/share/php/Behat/Mink/Exception/Exception.php
/usr/share/php/Behat/Mink/Exception/ExpectationException.php
/usr/share/php/Behat/Mink/Exception/ResponseTextException.php
/usr/share/php/Behat/Mink/Exception/UnsupportedDriverActionException.php
/usr/share/php/Behat/Mink/Mink.php
/usr/share/php/Behat/Mink/Selector
/usr/share/php/Behat/Mink/Selector/CssSelector.php
/usr/share/php/Behat/Mink/Selector/ExactNamedSelector.php
/usr/share/php/Behat/Mink/Selector/NamedSelector.php
/usr/share/php/Behat/Mink/Selector/PartialNamedSelector.php
/usr/share/php/Behat/Mink/Selector/SelectorInterface.php
/usr/share/php/Behat/Mink/Selector/SelectorsHandler.php
/usr/share/php/Behat/Mink/Selector/Xpath
/usr/share/php/Behat/Mink/Selector/Xpath/Escaper.php
/usr/share/php/Behat/Mink/Selector/Xpath/Manipulator.php
/usr/share/php/Behat/Mink/Session.php
/usr/share/php/Behat/Mink/WebAssert.php
/usr/share/php/Behat/Mink/autoload.php
References
Summary
In this tutorial we learn how to install php-behat-mink
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).