[FEATURE] Use composer class loader for better performance 91/36091/10
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 18 Jan 2015 10:25:20 +0000 (11:25 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 19 Jan 2015 21:10:37 +0000 (22:10 +0100)
commit9f6ccce3038cd87d8d07ece2d23733a0fec65b8c
tree8e5ae0cf1c901857183a3c0dafef0a9c725dddb0
parent41f02df2989d20ebeb5bd88eb53d14e30f17a404
[FEATURE] Use composer class loader for better performance

Require composer class loader early in the bootstrap gives us many benefits:

1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written

Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader

Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
Reviewed-on: http://review.typo3.org/36091
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
composer.json
typo3/contrib/vendor/autoload.php [new file with mode: 0644]
typo3/contrib/vendor/composer/ClassLoader.php [new file with mode: 0644]
typo3/contrib/vendor/composer/autoload_classmap.php [new file with mode: 0644]
typo3/contrib/vendor/composer/autoload_namespaces.php [new file with mode: 0644]
typo3/contrib/vendor/composer/autoload_psr4.php [new file with mode: 0644]
typo3/contrib/vendor/composer/autoload_real.php [new file with mode: 0644]
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/ext_autoload.php