You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/ddev/ddev-adminer/actions/workflows/tests.yml)
This repository allows you to quickly install the [Adminer](https://www.adminer.org/)database manager into a [DDEV](https://ddev.readthedocs.io) project using just `ddev add-on get ddev/ddev-adminer`.
9
+
[Adminer](https://www.adminer.org/)is a full-featured database management tool written in PHP.
8
10
9
-
Adminer is a full-featured database management tool written in PHP. This service currently ships the [official adminer container](https://hub.docker.com/_/adminer) with no _external_ plugins.
11
+
This add-on integrates Adminer into your [DDEV](https://ddev.com/) project.
10
12
11
13
Adminer works with MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, and MongoDB.
12
14
13
15
## Installation
14
16
15
17
```sh
16
-
ddev add-on get ddev/ddev-adminer && ddev restart
18
+
ddev add-on get ddev/ddev-adminer
19
+
ddev restart
17
20
```
18
21
19
-
Then you can just `ddev adminer` or use `ddev describe` to get the URL (`https://<project>.ddev.site:9101`).
22
+
After installation, make sure to commit the `.ddev` directory to version control.
23
+
24
+
## Usage
25
+
26
+
| Command | Description |
27
+
| ------- | ----------- |
28
+
|`ddev adminer`| Open Adminer in your browser (`https://<project>.ddev.site:9101`) |
29
+
|`ddev describe`| View service status and used ports for Adminer |
20
30
21
31
## Advanced Customization
22
32
@@ -25,32 +35,37 @@ To change the design:
25
35
```sh
26
36
# design: https://www.adminer.org/en/#extras
27
37
ddev dotenv set .ddev/.env.adminer --adminer-design=dracula
28
-
git add .ddev/.env.adminer
29
-
ddev add-on get ddev/ddev-adminer && ddev restart
38
+
ddev add-on get ddev/ddev-adminer
39
+
ddev restart
30
40
```
31
41
42
+
Make sure to commit the `.ddev/.env.adminer` file to version control.
43
+
32
44
To add more plugins:
33
45
34
46
```sh
35
47
# plugins: https://www.adminer.org/en/plugins/
36
48
ddev dotenv set .ddev/.env.adminer --adminer-plugins="tables-filter edit-calendar"
37
-
git add .ddev/.env.adminer
38
-
ddev add-on get ddev/ddev-adminer && ddev restart
49
+
ddev add-on get ddev/ddev-adminer
50
+
ddev restart
39
51
```
40
52
41
-
All possible customization options are listed below (avoid using them if you're unsure):
53
+
Make sure to commit the `.ddev/.env.adminer` file to version control.
0 commit comments