How to install php-symfony-class-loader on Amazon Linux
Symfony ClassLoader Component
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | noarch | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 2.8.12 |
Description
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. Optional: * APC (php-pecl-apcu) * XCache (php-xcache) [1] http://symfony.com/PSR0 [2] http://pear.php.net/manual/en/standards.php
Built for Amazon Linux.
Install
php-symfony-class-loader on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-symfony-class-loader
Package downloads require an active GetPageSpeed subscription — one repository for php-symfony-class-loader and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php-symfony-class-loader on Amazon Linux?
Add the GetPageSpeed repository, then install the php-symfony-class-loader package with your system package manager.
Which Amazon Linux versions is php-symfony-class-loader available for?
php-symfony-class-loader is available for Amazon Linux 2.