Using Ubuntu, MySQL 8, PHP 8, Nginx /w PHP-FPM & PHPMyAdmin.
Setup the two below files in your root directory, download the box ubuntu/bionic64, run "vagrant up".
Your Codeigniter 4 project will now be available at localhost:8080, PMA at /phpmyadmin, database credentials are root:root.