Package: php-swiftmailer Version: 5.4.2-1.1 Severity: wishlist Tags: patch Dear Maintainer,
Please consider including an autoload.php file in the package. Many PHP library packages contain a file named autoload.php defining an autoloader for the library's classes and its dependencies. Outside of Debian packaging, this is often similarly handled with Composer's "vendor/autoload.php" file. Swiftmailer already ships an autoloader, albeit with the hard-to-guess name "swift_required.php". This makes it harder to use the library because it requires knowledge of its internal implementation. Outside of Debian, this file is hidden behind Composer. I propose to offer autoloading through the more typically named autoload.php. It could be accomplished by a simple symlink, like so: --- /dev/null 2020-02-18 12:53:50.739999999 +0100 +++ debian/links 2020-02-18 17:31:06.373473127 +0100 @@ -0,0 +1 @@ +/usr/share/php/Swift/swift_required.php /usr/share/php/Swift/autoload.php Regards, Robin