Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1860

Make usage of Composer for CLI optional

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      There's two problems with current CLI implementation:

      1 - composer `autoload.php` file is hardcoded, which means that it is making assumptions about where `doctrine/orm` has been installed, and it also makes the assumption that `doctrine/orm` is not the main package.
      2 - composer is a requirement, while requiring it should just fail silently and allow the end user to use his own autoloading strategy

        Activity

        Hide
        Marco Pivetta added a comment -
        Show
        Marco Pivetta added a comment - Merged at https://github.com/doctrine/doctrine2/pull/365

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Marco Pivetta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: