Установка phpmyadmin в Laravel 5 Homestead

В образе Laravel5.2 Homestead для Vagrant на основе дистрибутива Ubuntu установлен php 7 версии, а в зависимостях пакета phpmyadmin указан php 5 версии, потому при попытке установки пакета через менеджер пакетов apt-get получаем сообщение об ошибке:

vagrant@homestead:~$ sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 phpmyadmin : Depends: libapache2-mod-php5 but it is not going to be installed or
                       libapache2-mod-php5filter but it is not going to be installed or
                       php5-cgi but it is not going to be installed or
                       php5-fpm but it is not going to be installed or
                       php5 but it is not going to be installed
              Depends: php5-mysql but it is not going to be installed or
                       php5-mysqli but it is not installable or
                       php5-mysqlnd but it is not going to be installed
              Depends: php5-mcrypt but it is not going to be installed
              Depends: php5-json but it is not going to be installed
              Depends: php-gettext but it is not going to be installed
              Recommends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Решение следующее: качаем последний дистрибутив с поддержкой php7 phpmyadmin. В Ubuntu из командной строки это выглядит так:

vagrant@homestead:~$ wget https://files.phpmyadmin.net/phpMyAdmin/4.5.4.1/phpMyAdmin-4.5.4.1-all-languages.tar.gz
--2016-02-12 07:00:45--  https://files.phpmyadmin.net/phpMyAdmin/4.5.4.1/phpMyAdmin-4.5.4.1-all-languages.tar.gz
Resolving files.phpmyadmin.net (files.phpmyadmin.net)... 46.46.180.71, 46.46.180.71
Connecting to files.phpmyadmin.net (files.phpmyadmin.net)|46.46.180.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9823220 (9.4M) [application/octet-stream]
Saving to: ‘phpMyAdmin-4.5.4.1-all-languages.tar.gz’

100%[===================================================================================================================================================================================================>] 9,823,220   3.33MB/s   in 2.8s

2016-02-12 07:00:48 (3.33 MB/s) - ‘phpMyAdmin-4.5.4.1-all-languages.tar.gz’ saved [9823220/9823220]

Архив распаковываем:

vagrant@homestead:~$ tar xzf phpMyAdmin-4.5.4.1-all-languages.tar.gz

Полученную папку переименовываем в более лаконичное имя phpmyadmin.
Далее в nginx в конфиг /etc/nginx/sites-enabled/@anyNameconfig добавляем строки:

server {
    listen 80;
    server_name 192.168.10.10;
    root "/home/vagrant/";

    index index.html index.htm index.php;
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_intercept_errors off;
        fastcgi_buffer_size 16k;
        fastcgi_buffers 4 16k;
        fastcgi_connect_timeout 300;
        fastcgi_send_timeout 300;
        fastcgi_read_timeout 300;
    }
}

где server_name 192.168.10.10 — ip адрес виртуальной машины с Homestead. В браузере вводим адрес http://192.168.10.10/phpmyadmin и получаем желаемое:
phpmyadmin

Для входа по умолчанию используются логин/пароль: homestead/secret.