/gnome-phpmyadmin

Run phpMyAdmin from GNOME Shell.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

GNOME phpMyAdmin

GNOME extension to run phpMyAdmin using php built in server.

Screenshot of GNOME Quick Settings

Reason Behind This Extension

In the past we use Apache or NGINX to serve phpMyAdmin using php. Currently, we can use php built in server to running phpMyAdmin. Just running php -S localhost:8080 in phpmyadmin folder, it will serve the application.

But, this extension make your life easier. Just toggle from Quick Settings. No need to run terminal to start and stop php server.

This extension will download phpMyAdmin, add it to Quick Settings of GNOME Shell, If you toggle enable this item, it will start php built in server and also open phpMyAdmin in your default browser.

Manual Installation

  1. Clone Repository:
git clone https://github.com/hsnfirdaus/gnome-phpmyadmin.git
cd gnome-phpmyadmin
  1. Install PHP (Required).
    You can install PHP from your distribution repository. For example Arch:
sudo pacman -Syu php
  1. Download phpMyAdmin zip and extract to src/phpmyadmin folder (Need to install curl):
./download.sh

You can also change config.inc.php in src/phpmyadmin folder after running that command.

  1. Install extension to user extension directory:
./install.sh

Configuration

Screenshot of GNOME phpMyAdmin extension Settings

You can configure port and php binary that will be used in extension settings.