SSH into Homestead vagrant box with vagrant ssh. Once you're inside the Homestead vagrant box cd into /home/vagrant/ and run the following command:
curl -sS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | sh
A phpmyadmin folder is created: /home/vagrant/phpmyadmin/
Exit your Homestead vagrant box:
Open homestead.yaml (on your project root directory) and add these lines:
Open your /etc/hosts file with the command:
sudo nano /etc/hosts
and append the following lines:
If vagrant is already running run the command:
vagrant reload --provision
Now go to phpmyadmin.homestead.test on your browser.
The username is homestead, and your password is secret.