These are chat archives for composer/composer

5th
Feb 2019
megri
@megri
Feb 05 23:31
I am using a lib jms/serializer that uses annotations from doctrine. For the annotations to be workable it seems I am required to add Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists'); at the start of my project. I'm thinking it'd be nice if I could somehow incorporate this into the generated autoload.php-file, so that it's always called exactly once without me having to spell it out all over the place. Is this somehow possible?