Task #67363
closed
Support Composer classloader from vendor directory
Added by Mathias Brodala over 9 years ago.
Updated over 9 years ago.
Description
If the typo3/cms
package is kept in the Composer vendor-dir
, e.g. by disabling the typo3/cms-composer-installers
package, the Composer autoload.php
is not detected.
This use case should be supported, since this is a rather usual setup in Composer-based environments where typo3/cms
is not supposed to take over the project root directory.
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40121
Mathias Brodala wrote:
disabling the typo3/cms-composer-installers
package, the Composer autoload.php
is not detected.
this is not supported and there are no plans to support that.
What is planned is to actually read the vendor dir from the root composer.json file and include that autoload.php file accordingly.
But this is not easy to achieve as this needs to happen very early in the bootstrap.
See also #66994
- Status changed from Under Review to Closed
Mathias Brodala wrote:
disabling the typo3/cms-composer-installers
package
Just to be clear about that one. typo3/cms-composer-installers is a requirement of the typo3/cms package. If you disable this requirement, you are completely on your own. We can not and will never support such cases.
Also available in: Atom
PDF