kitodo / kitodo-presentation

Kitodo.Presentation is a feature-rich framework for building a METS- or IIIF-based digital library. It is part of the Kitodo Digital Library Suite.
https://kitodo.org
GNU General Public License v3.0
38 stars 44 forks source link

Add composer.json and class loading information for TYPO3 7 #163

Closed albig closed 5 years ago

albig commented 7 years ago

In TYPO3 7 the class loading changed completely. The file ext_autoload.php is ignored but a section "autoload" in ext_emconf.php could be used to provide class locations and help the autoloader.

Even better is to provide a composer.json file with autoload information. This makes it possible to use Kitodo.Presentation in composer mode. Running TYPO3 in composer mode makes it easier for deployment and class loading should be even faster.

Read the blogpost of Helmut Hummel: Changes in class loading in TYPO3 7LTS and COMPOSER AND TYPO3 7LTS.

This issue is related to #156.

sebastian-meyer commented 6 years ago

I added a composer.json with class autoloading information. But I haven't removed ext_autoload.php or any information in ext_emconf.php to still keep compatibility with TYPO3 6.2. Before releasing v3.0.0 and requiring at least TYPO3 7.6 we should fix that, too.

sebastian-meyer commented 5 years ago

This should be fixed in compatibility branch kitodo-presentation/typo3-8+

sebastian-meyer commented 5 years ago

Fixed with #329