Issues & Help
We are lucky to have a vibrant MongoDB PHP community that includes users with varying levels of experience using the PHP library. The quickest way to get support for general questions is through the MongoDB Community Forums.
Bugs / Feature Requests
If you have feedback about the PHP library, visit the MongoDB Feedback Engine and select Drivers from the list of products on the right side of your screen. You can propose improvements, report issues, and provide other types of feedback by using this site.
You can also open a case in Jira, our issue management tool, to identify bugs or propose improvements. The following steps describe how to create a Jira issue:
Visit the MongoDB Jira issue tracker and click the signup link. Create an account, and then log in to Jira.
Navigate to the PHPLIB Jira project.
Click Create to create a ticket. Please provide as much information as possible about the issue or request in the ticket.
Note
Bug reports in the PHPLIB Jira project are publicly viewable.
If you've identified a security vulnerability in any official MongoDB product, please report it according to the instructions found in the Create a Vulnerability Report page.
Pull Requests
We are happy to accept contributions to help improve the PHP library. We guide user contributions to ensure they meet the standards of the codebase. Ensure that any pull requests include documentation, tests, and pass the static analysis checks.
To contribute to the library, check out the source and work on a branch:
git clone https://github.com/mongodb/mongo-php-library.git cd mongo-php-library composer update git checkout -b myNewFeature
Then, run the library's test suite by using the following command:
composer run test
To learn more about the requirements for pull requests, see Contributing to the PHP Library for MongoDB on GitHub.