{"id":15154101,"url":"https://github.com/mongodb/mongo-hhvm-driver","last_synced_at":"2025-09-30T01:32:30.224Z","repository":{"id":24056356,"uuid":"27442261","full_name":"mongodb/mongo-hhvm-driver","owner":"mongodb","description":"MongoDB HHVM driver **Note, this driver is no longer maintained**","archived":true,"fork":false,"pushed_at":"2021-12-22T17:05:42.000Z","size":7097,"stargazers_count":34,"open_issues_count":0,"forks_count":13,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-09-23T01:05:59.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Vardot/varbase_bootstrap_paragraphs","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-02T16:44:52.000Z","updated_at":"2024-01-14T04:31:49.000Z","dependencies_parsed_at":"2022-08-22T10:40:29.107Z","dependency_job_id":null,"html_url":"https://github.com/mongodb/mongo-hhvm-driver","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-hhvm-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-hhvm-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-hhvm-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-hhvm-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/mongo-hhvm-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874735,"owners_count":16554611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T17:02:11.057Z","updated_at":"2025-09-30T01:32:29.621Z","avatar_url":"https://github.com/mongodb.png","language":"PHP","readme":"MongoDB HHVM Driver\n===================\n\nEnd of Life Notice\n------------------\n\nThe MongoDB HHVM Driver is now officially end-of-life (EOL). No further development, bugfixes, enhancements, documentation changes or maintenance will be provided by this project and pull requests will no longer be accepted.\n\nAbout\n-----\n\nThis is the low-level HHVM driver for MongoDB. The API is the same as the PHP\ndriver for MongoDB. The documentation for both of them is the same, and can be\nfound at http://www.php.net/manual/en/set.mongodb.php\n\nThe driver is written to be a bare bone layer to talk to MongoDB, and\ntherefore misses many convenience features. Instead, these convenience methods\nhave been split out into a layer written in PHP, the `MongoDB Library`_.\nUsing this library should be your preferred way of interacting with MongoDB.\n\nPlease note that the new HHVM and PHP drivers implement a **different API**\nfrom the legacy driver at http://pecl.php.net/package/mongo; therefore\nexisting libraries that use the legacy driver (e.g. `Doctrine MongoDB's ODM`_)\nwill not work with the new drivers.\n\n.. _`Doctrine MongoDB's ODM`: http://doctrine-mongodb-odm.readthedocs.org/en/latest/\n.. _`MongoDB Library`: http://mongodb.github.io/mongo-php-library/\n\nIn the long run, we hope that userland packages will be built atop this driver\nto implement various APIs (e.g. a BC layer for the existing driver, new fluent\ninterfaces), management utilities (for creating admin utilities and cluster\nmanagement applications), and other interesting libraries.\n\nDocumentation\n-------------\n\n- http://php.net/mongodb\n- http://mongodb.github.io/mongo-php-driver/\n\nInstallation\n------------\n\nPlease ensure, that before you install the extension, the following tools are\ninstalled: autoconf, automake, and libtool.\n\nCompiling this extension requires the ``hphpize`` command, which is available by\ninstalling the ``hhvm-dev`` package from the\n`HHVM repositories \u003chttps://github.com/facebook/hhvm/wiki/Prebuilt-Packages-for-HHVM\u003e`_\nor `building HHVM from source \u003chttps://github.com/facebook/hhvm/wiki/Building-and-Installing-HHVM\u003e`_.\n\nBesides the extension, we recommend using it in combination with our `userland\nlibrary \u003chttps://github.com/mongodb/mongo-php-library\u003e`_ which\nis distributed as `mongodb/mongodb\n\u003chttps://packagist.org/packages/mongodb/mongodb\u003e`_ for Composer.\n\nFrom a package (.tgz)\n~~~~~~~~~~~~~~~~~~~~~\n\nReleases of this driver can be found on\nhttps://github.com/mongodb/mongo-hhvm-driver/releases\n\nPlease download the latest .tgz file into a directory, and run the following\ncommands::\n\n\tmkdir hhvm-mongodb\n\tcd hhvm-mongodb\n\ttar -xvzf ../hhvm-mongodb-1.1.2.tgz\n\tcd hhvm-mongodb-1.1.2\n\thphpize\n\tcmake .\n\tmake configlib\n\tmake -j [number_of_processor_cores] # eg. make -j 4\n\tmake install\n\t\nBuilding from source\n~~~~~~~~~~~~~~~~~~~~\n\nRun the following \ncommands::\n\n\tgit clone https://github.com/mongodb/mongo-hhvm-driver --branch master\n\tcd mongo-hhvm-driver/\n\tgit submodule update --init --recursive\n\thphpize\n\tcmake .\n\tmake configlib\n\tmake -j [number_of_processor_cores] # eg. make -j 4\n\tmake install\n\nInstalling\n----------\n\nIn your ``/etc/hhvm/php.ini``, add the following lines (adjusting paths if\nnecessary)::\n\n\thhvm.dynamic_extensions[mongodb]=mongodb.so\n\nContributing\n------------\n\nSee `CONTRIBUTING.rst \u003cCONTRIBUTING.rst\u003e`_.\n\nRelated Projects\n----------------\n\n- `PHP Implementation of this driver \u003chttps://github.com/mongodb/mongo-php-driver\u003e`_\n- `Official high-level library \u003chttps://github.com/mongodb/mongo-php-library\u003e`_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-hhvm-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fmongo-hhvm-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-hhvm-driver/lists"}