https://github.com/bearsampp/login-servers-enhanced
Fork of crazy-max fork of the official login-servers Adminer plugin with enhancements
https://github.com/bearsampp/login-servers-enhanced
adminer adminer-plugin hacktoberfest php
Last synced: 4 months ago
JSON representation
Fork of crazy-max fork of the official login-servers Adminer plugin with enhancements
- Host: GitHub
- URL: https://github.com/bearsampp/login-servers-enhanced
- Owner: Bearsampp
- License: gpl-3.0
- Created: 2021-11-26T20:03:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T14:33:16.000Z (10 months ago)
- Last Synced: 2025-04-23T15:43:01.059Z (10 months ago)
- Topics: adminer, adminer-plugin, hacktoberfest, php
- Language: PHP
- Homepage: https://bearsampp.com
- Size: 2.34 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
[](https://packagist.org/packages/crazy-max/login-servers-enhanced)
[](https://php.net/)
# Adminer login-servers-enhanced
This plugin display a constant list of servers in login form.
It's a fork of the official plugin [login-servers](https://raw.github.com/vrana/adminer/master/plugins/login-servers.php) for [Adminer](https://www.adminer.org/) with enhancements.
Was created for the [Bearsampp](https://github.com/Bearsampp) project.
## Features
* Ability to select a server with different driver.
## Installation
### Adminer
Copy `plugins/login-servers-enhanced.php` in the plugins folder.
### Composer
```bash
composer require crazy-max/login-servers-enhanced
```
And download the code:
```bash
composer install # or update
```
## Getting started
Follow the instructions on the [official plugins page](https://www.adminer.org/en/plugins/).
Then just add `new AdminerLoginServersEnhanced` to the `$plugins` array :
```php
function adminer_object() {
// required to run any plugin
include_once "./plugins/plugin.php";
// autoloader
foreach (glob("plugins/*.php") as $filename) {
include_once "./$filename";
}
$plugins = array(
new AdminerLoginServersEnhanced(
array(
new AdminerLoginServerEnhanced('127.0.0.1:3306', 'MySQL port 3306', 'server'),
new AdminerLoginServerEnhanced('127.0.0.1:3307', 'MariaDB port 3307', 'server'),
new AdminerLoginServerEnhanced('127.0.0.1:5432', 'PostgreSQL port 5432', 'pgsql')
)
)
);
/* It is possible to combine customization and plugins:
class AdminerCustomization extends AdminerPlugin {
}
return new AdminerCustomization($plugins);
*/
return new AdminerPlugin($plugins);
}
// include original Adminer or Adminer Editor
include "./adminer.php";
```
## How can I help?
All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2:
the project, or to raise issues :speech_balloon: You can also support this project by
[**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) :clap: or by making a
[Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! :rocket:
Thanks again for your support, it is much appreciated! :pray:
## License
Apache-2.0. See `LICENSE` for more details.