How To Install php-symfony3-class-loader on Fedora 36
Introduction
In this tutorial we learn how to install php-symfony3-class-loader
on Fedora 36.
What is php-symfony3-class-loader
The ClassLoader Component loads your project classes automatically if they follow some standard PHP conventions. Whenever you use an undefined class, PHP uses the autoloading mechanism to delegate the loading of a file defining the class. Symfony provides a “universal” autoloader, which is able to load classes from files that implement one of the following conventions * The technical interoperability standards [1] for PHP 5.3 namespaces and class names * The PEAR naming convention [2] for classes If your classes and the third-party libraries you use for your project follow these standards, the Symfony autoloader is the only autoloader you will ever need. Autoloader [1] http [2] http
We can use yum
or dnf
to install php-symfony3-class-loader
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-symfony3-class-loader.
Install php-symfony3-class-loader 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-symfony3-class-loader
using dnf
by running the following command:
sudo dnf -y install php-symfony3-class-loader
Install php-symfony3-class-loader 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-symfony3-class-loader
using yum
by running the following command:
sudo yum -y install php-symfony3-class-loader
How To Uninstall php-symfony3-class-loader on Fedora 36
To uninstall only the php-symfony3-class-loader
package we can use the following command:
sudo dnf remove php-symfony3-class-loader
php-symfony3-class-loader Package Contents on Fedora 36
/usr/share/doc/php-symfony3-class-loader
/usr/share/doc/php-symfony3-class-loader/CHANGELOG.md
/usr/share/doc/php-symfony3-class-loader/README.md
/usr/share/doc/php-symfony3-class-loader/composer.json
/usr/share/licenses/php-symfony3-class-loader
/usr/share/licenses/php-symfony3-class-loader/LICENSE
/usr/share/php/Symfony3/Component/ClassLoader
/usr/share/php/Symfony3/Component/ClassLoader/ApcClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/ClassCollectionLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/ClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/ClassMapGenerator.php
/usr/share/php/Symfony3/Component/ClassLoader/MapClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/Psr4ClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/WinCacheClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/XcacheClassLoader.php
/usr/share/php/Symfony3/Component/ClassLoader/autoload.php
References
Summary
In this tutorial we learn how to install php-symfony3-class-loader
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).