Simple shell script that automatically installs the latest version of PhpMyAdmin on a Laravel Homestead box.
Based on the work of grrnikos, but with some added features:
- Homestead 5.4 support (creation of certificate)
- Install the latest version of phpMyAdmin
- Install the Metro theme (I don't like the default)
- Auto-login phpMyAdmin (be careful running this on public networks)
-
SSH into your Homestead box
homestead ssh
orvagrant ssh
-
$ curl -sS https://raw.githubusercontent.com/kdv88/homestead-pma/master/pma.sh | bash
-
Open the
/etc/hosts
file on your main machine and add127.0.0.1 phpmyadmin.app
-
Go to http://phpmyadmin.app:8000.
You can also add the contents of pma.sh to the after.sh of your project so you don't have to ssh into your vagrant box.
The MIT License (MIT). Please see License File for more information.