Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dangdungcntt/phpmongoadmin
https://github.com/dangdungcntt/phpmongoadmin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dangdungcntt/phpmongoadmin
- Owner: dangdungcntt
- Created: 2020-12-10T06:05:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-27T07:59:58.000Z (over 2 years ago)
- Last Synced: 2024-04-14T07:50:01.374Z (9 months ago)
- Language: PHP
- Size: 1.96 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)