How to Install PHP Composer on Rocky Linux 8
PHP Composer is the most used dependency manager for PHP. It lets you declare the dependencies your project needs, and it will manage (install/update) them for you.
Source: Howtoforge Linux Howtos und Tutorials