[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal

WordPress Trac noreply at wordpress.org
Mon Oct 31 05:14:15 UTC 2022


#36335: Next generation: core autoloader proposal
-----------------------------+------------------------------
 Reporter:  dnaber-de        |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by omaeyusuke):

 It is my understanding that the main reason this ticket has not been baby-
 stepped, even in a simplified implementation, is due to a conflict between
 the following two things

 - Minimize reinvention of the wheel regarding class map generation
 - Minimize the number of files generated by third-party projects
 (Composer)

 Both are correct, and I think it was inevitable at the time that the
 discussion stopped.
 However, in June 2022, the class map generation implementation of Composer
 was released as a separate package.
 https://github.com/composer/class-map-generator
 This package is much lighter than using Composer itself as a tool, since
 there are only two dependency packages (except for development only).
 Therefore, in my opinion, most of the discussions of 6 years ago can be
 solved by using only this package.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:258>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list