>
>
>
> I implemented a PECL extension doing pretty much this in
> https://github.com/
> pprkut/autoload-psr <https://github.com/pprkut/autoload-psr>, minus the
> complimenting functions.
>
> I can't speak for performance benefits as I didn't do any benchmarks, I
> don't
> think they'd be very noticeable though. My primary motivation for writing
> it
> was to have an autoloader available from script start. The extension
> supports
> PSR-0 as well, which fits even better (IMHO) with that workflow since it
> means
> truly zero setup compared to PSR-4.
>
>
Thanks for pointing this out to me, I'll check it out.