A new guide has been published: How to Install PHP Composer on Rocky Linux 8
Howtoforge published a tutorial about installing PHP Composer on Rocky Linux 8.
Read more @ Linux Compatible