php / php/frankenphp

Include MongoDB extension in official static binaries

Open
#2,117 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
11.3k
Forks
488
Avg merge
4d 10h
Merged PRs (30d)
11

Description

Describe your feature request

Hi FrankenPHP Team,

First of all, thank you for this amazing project! It has significantly improved the developer experience for PHP and Laravel developers.

I would like to request the inclusion of the MongoDB extension in the official FrankenPHP static binaries and Docker images.

Why is this needed?

Popularity: Many modern PHP applications, especially those built with Laravel, use MongoDB as their primary or secondary database (NoSQL).

Complexity of Custom Builds: Currently, users who need MongoDB must build their own custom static binaries using static-php-cli, which is time-consuming and can be challenging for many developers.

Octane Compatibility: As FrankenPHP becomes a first-class citizen in Laravel Octane, having out-of-the-box support for MongoDB would make it a much more viable option for enterprise-scale applications.

Alternatives Considered: I have tried building a custom binary and using Docker with manual extension installation, but having it bundled officially would provide a much smoother onboarding experience for the community.

Would it be possible to add mongodb to the list of default extensions in the build process?

Thank you for your time and consideration!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request concerns the default-extension build process for static binaries and Docker images; start by locating the configuration that defines those extensions. Confirm how MongoDB is built and bundled, then verify that the official binaries and images expose the extension as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, php
Domain
build-system, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.