How To Install php-symfony-ldap on Fedora 36

In this tutorial we learn how to install php-symfony-ldap in Fedora 36. php-symfony-ldap is Symfony LDAP Component

Introduction

In this tutorial we learn how to install php-symfony-ldap on Fedora 36.

What is php-symfony-ldap

An abstraction in front of PHP’s LDAP functions.

We can use yum or dnf to install php-symfony-ldap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-symfony-ldap.

Install php-symfony-ldap 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-symfony-ldap using dnf by running the following command:

sudo dnf -y install php-symfony-ldap

Install php-symfony-ldap 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-symfony-ldap using yum by running the following command:

sudo yum -y install php-symfony-ldap

How To Uninstall php-symfony-ldap on Fedora 36

To uninstall only the php-symfony-ldap package we can use the following command:

sudo dnf remove php-symfony-ldap

php-symfony-ldap Package Contents on Fedora 36

/usr/share/doc/php-symfony-ldap
/usr/share/doc/php-symfony-ldap/README.md
/usr/share/doc/php-symfony-ldap/composer.json
/usr/share/licenses/php-symfony-ldap
/usr/share/licenses/php-symfony-ldap/LICENSE
/usr/share/php/Symfony/Component/Ldap
/usr/share/php/Symfony/Component/Ldap/Exception
/usr/share/php/Symfony/Component/Ldap/Exception/ConnectionException.php
/usr/share/php/Symfony/Component/Ldap/Exception/LdapException.php
/usr/share/php/Symfony/Component/Ldap/LdapClient.php
/usr/share/php/Symfony/Component/Ldap/LdapClientInterface.php
/usr/share/php/Symfony/Component/Ldap/autoload.php
/usr/share/php/Symfony/Component/Ldap/autoloader.php

References

Summary

In this tutorial we learn how to install php-symfony-ldap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).