DDC-1860: Make usage of Composer for CLI optional #2345

Closed
opened 2026-01-22 13:49:05 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Jun 9, 2012).

Originally assigned to: @Majkl578 on GitHub.

Jira issue originally created by user @ocramius:

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

Originally created by @doctrinebot on GitHub (Jun 9, 2012). Originally assigned to: @Majkl578 on GitHub. Jira issue originally created by user @ocramius: 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
admin added the Improvement label 2026-01-22 13:49:05 +01:00
admin closed this issue 2026-01-22 13:49:05 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 9, 2012):

Comment created by @ocramius:

Merged at https://github.com/doctrine/doctrine2/pull/365

@doctrinebot commented on GitHub (Jun 9, 2012): Comment created by @ocramius: Merged at https://github.com/doctrine/doctrine2/pull/365
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2345