Is it possible to replace ZF1 Autoloader with ZF2 Autoloader, as it seems that it could significantly increase performance ?
I didn’t find any tutorials out there neither much material on this – I’ve just heard ZF2’s Autoloader would be much faster.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As ZF1 codebase uses
require_onceto include dependencies, ZF1 autoloader relies on include path which leads to poor performance results.Migrating to ZF2 autoloader (or Composer‘s one) will not have a significant performance impact.