mongodb / mongodb/mongo-php-driver
Connect to MongoDB via socks5 proxy
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 923
- Forks
- 218
- Avg merge
- 15h 15m
- Merged PRs (30d)
- 32
Description
How would I be able to connect to MongoDB via a socks5 proxy in PHP?
I noticed that Java and Kotlin already have a way to do this. Wondering if PHP also has a way.
This would vastly simplify our setup which currently uses custom dns servers + haproxy in order to proxy traffic to mongo atlas.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the PHP driver's connection capabilities with the existing Java and Kotlin SOCKS5 support mentioned in the issue. Identify the relevant connection entry point and determine what implementation and test coverage would be needed for MongoDB Atlas traffic through a SOCKS5 proxy; done means a documented, tested way to establish that connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, php
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100