Skip to content
View phpmongodb's full-sized avatar

Block or report phpmongodb

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
phpmongodb/README.md

🐘 PHPMongoDB

A simple and lightweight web-based administrative tool for MongoDB, built in PHP.
Manage databases, collections, and documents directly from your browser.


πŸ“œ License

This project is licensed under the MIT License.


πŸš€ Features

  • Clean web UI to browse databases & collections
  • Insert, update, and delete documents
  • Export & import collections
  • Uses the official MongoDB PHP driver
  • Lightweight, simple, and fast

πŸ“¦ Manual Installation

Step 1: Install the MongoDB PHP Driver

pecl install mongodb
# Enable the extension (adds to your loaded php.ini)
echo "extension=mongodb.so" | sudo tee -a "$(php --ini | grep 'Loaded Configuration' | sed -E 's|.*:\s*||')"

Verify it’s loaded

php -m | grep mongodb

Step 2: Get the Code

git clone https://github.com/phpmongodb/phpmongodb.git
cd phpmongodb

Step 3: Install PHP Dependencies

composer install --no-dev --optimize-autoloader

Step 4: Serve the App

php -S 0.0.0.0:8080 -t .

Access in browser

Open: http://localhost:8080

πŸ“Έ Screenshots

Dashboard – Collections View

Collections View

Records – Document Browser

Record Browser

Popular repositories Loading

  1. phpmongodb-legacy phpmongodb-legacy Public

    PHP 82 38

  2. docs-ecosystem docs-ecosystem Public

    Forked from mongodb/docs-ecosystem

    MongoDB Ecosystem Documentation

    Python

  3. phpmongodb phpmongodb Public

    PHP