Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-174

Use consistent extension names for PHP and HHVM drivers

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      See: https://twitter.com/Stof70/status/575694424300122112

      Ensuring extension names are consistent will make it easier for packages, including our own PHPLIB, to depend on "ext-mongodb", or whatever we go with. We probably don't want to re-use "mongo", since that conflicts with the 1.0 driver.

      I believe Composer does allow dependence on extension versions, so we could use "ext-mongo" in conjunction with a version number, but that would require HHVM starting at a 2.0 release. Typically, libraries do not depend on extension versions, though.

      One concern I had with this was allowing a mongofill library to still operate. Apparently, that is already supported, as Composer allows a library to "provide" an extension from a dependency resolution standpoint.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: