MongoDB PHP GUI – A Web interface for MongoDB

I wrote an application (in PHP, JS, HTML and CSS) that allows you to administrate a MongoDB database via a Web browser. Project name is: MongoDB PHP GUI. It is open-source and free. Its features are:

  • Create databases and collections.
  • Create, read, (in place) update and delete documents.
  • Query with JSON or SQL. Autocompletion is available.
  • Export output to JSON.
  • Create and delete indexes.
  • Work on any device thanks to its responsive design.

5 Likes

v1.0.5 introduces a new feature: You can import documents from a JSON file.

Since 1.0.6 version you can:

  • Visualize all collections in a single view.
  • Rename or drop a collection.
  • Check if a collection index is unique.

1 Like

Since 1.0.7 version, you can create and drop users.

1 Like

MongoDB PHP GUI is available at Docker Hub :whale: :smiley:

Before 1.1.6 version, you had to query database with a strict JSON syntax. Example:

{ "firstname": "Samuel" }

Since 1.1.6 version, you can query database with a relaxed JSON syntax. Example:

firstname: Samuel
1 Like

MongoDB PHP GUI supports now advanced options such as Replica Set in “URI” connection mode. You can switch connection mode on login page:

MongoDB PHP GUI - Switch Connection Mode

MongoDB PHP GUI switched to dark theme. I hope you will like it! :wink:

@Samuel_Tallet, while creating an index through the MongoDB PHP UI does it, will create in background or in the foreground?

Hi @Rabikumar,

All currently supported versions of MongoDB server (4.2+) use an optimised index build process that removes the need for foreground vs background index builds:

Previous versions of MongoDB supported building indexes either in the foreground or background. Foreground index builds were fast and produced more efficient index data structures, but required blocking all read-write access to the parent database of the collection being indexed for the duration of the build. Background index builds were slower and had less efficient results, but allowed read-write access to the database and its collections during the build process.

Starting in MongoDB 4.2, index builds obtain an exclusive lock on only the collection being indexed during the start and end of the build process to protect metadata changes. The rest of the build process uses the yielding behavior of background index builds to maximize read-write access to the collection during the build. 4.2 index builds still produce efficient index data structures despite the more permissive locking behavior.

For more information, see Index Builds on Populated Collections.

Regards,
Stennie