Composer is a dependency management tool in PHP; unlike ‘apt’ and ‘yum’, it’s not a package manager. In this tutorial, you are going to install PHP 7.4 and Composer on Ubuntu 20.04 and try out Composer commands.
Source: LXer – How to Install and Use Composer on Ubuntu 20.04