Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dangdungcntt/phpmongoadmin


https://github.com/dangdungcntt/phpmongoadmin

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# phpmongoadmin

## Using Docker

Requirements

- docker

Each release has a image tag, you can use special version or latest tag with newest build from master branch

### Linux

```bash
mkdir phpmongoadmin
cd phpmongoadmin
touch database.sqlite
docker run -d \
--name phpmongoadmin \
--restart=always \
-p 8080:80 \
-v $(pwd)/database.sqlite:/home/app/database/database.sqlite \
dangdungcntt/phpmongoadmin
docker exec -ti phpmongoadmin php artisan regenerate-app-key
```

### Windows

Create folder `phpmongoadmin` and file `database.sqlite` inside.

Run this command in `phpmongoadmin` folder

```bash
docker run -d \
--name phpmongoadmin \
--restart=always \
-p 8080:80 \
-v %cd%/database.sqlite:/home/app/database/database.sqlite \
dangdungcntt/phpmongoadmin
docker exec -ti phpmongoadmin php artisan regenerate-app-key
```

Visit [http://localhost:8080](http://localhost:8080)

## Using as Laravel application

Requirements

- php `^8.0`
- extension `mongodb`
- all requirements for `Laravel 8`

Run this project as normal Laravel application.

Read [Laravel docs](https://laravel.com/docs/8.x)

## Generate app key

This project using `APP_KEY` to encrypt `uri` when save to database.

You must use `regenerate-app-key` command to change app key to keep your current connections.

```bash
php artisan regenerate-app-key
```

## Screenshots

![](docs/screenshots/01.png)

![](docs/screenshots/02.png)