Skip to main content

Install Composer

We need to install Composer as it's a dependency manager for PHP and we use it for Laravel.

wget https://getcomposer.org/installer -O composer-installer.php
php composer-installer.php --filename=composer --install-dir=/usr/local/bin

Then you need to run:

dnf install composer -y

This will install composer to your server.