Simple shell script that automatically installs the latest version of PhpMyAdmin on a Laravel Homestead box.
- Map a new site entry in your
Homestead.yaml
file
map: homestead.phpmyadmin.net
to: /home/vagrant/phpmyadmin
-
SSH into your Homestead box
homestead ssh
orvagrant ssh
-
$ curl -sS https://raw.githubusercontent.com/rahamatj/pma/master/pma.sh | sh
-
Open the
/etc/hosts
file on your main machine and add{ip from your Homestead.yaml} homestead.phpmyadmin.net
e.g.192.168.10.10 homestead.phpmyadmin.net
-
Go to http://homestead.phpmyadmin.net. Default credentials are username
homestead
and passwordsecret