dg/adminer-custom

There is no license information available for the latest version (v2.0.0) of this package.

Customization for Adminer, the best database management tool written in PHP.

Maintainers

Details

github.com/dg/adminer-custom

Source

Installs: 647 207

Dependents: 24

Suggesters: 0

Security: 0

Stars: 125

Watchers: 22

Forks: 32

v2.0.0 2024-06-04 14:12 UTC

README

Customizations for Adminer, the best database management tool written in PHP.

  • clean design
  • visual resolution for production/development servers
  • SQL autocomplete plugin
  • plugin that dumps to PHP code
  • plugin that saves menu scroll position

Installation

composer require dg/adminer

Create file index.php somewhere in your document root, for example in subdirectory adminer/:

<?php
touch(__DIR__ . '/adminer.css');
require __DIR__ . '/../../vendor/dg/adminer/index.php'; // CHECK THAT THIS PATH IS CORRECT

And then navigate your browser to this directory (i.e. http://localhost/adminer).

Autologin

If you want to login automatically (use that for non-public environment only, e.g. localhost), you can do that by setting environment variables ADMINER_SERVER, ADMINER_USERNAME and ADMINER_PASSWORD. If you want to be automatically redirected to https, set ADMINER_HTTPS_REDIRECT environment variable to true.

Login page

login page

Tables overview

tables overview

Red top border indicates production server

production server

Use tab for autocomplete

autocomplete

Export as PHP code for Nette Database

export

Export as PHP code for Nette Forms

export

export