[wp-trac] [WordPress Trac] #21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes

WordPress Trac noreply at wordpress.org
Wed Feb 12 03:00:35 UTC 2014


#21300: Implement autoloader compatible with PSR-0 / PSR-4 for plugins and themes
-----------------------------+-------------------------
 Reporter:  dave1010         |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Bootstrap/Load   |     Version:
 Severity:  normal           |  Resolution:  maybelater
 Keywords:                   |     Focuses:
-----------------------------+-------------------------

Comment (by rmccue):

 Replying to [comment:12 MikeSchinkel]:
 > -1 on a PSR-0 or PSR-4 compatible auto-loader and on the use of Composer
 for plugins and themes.

 Also agreed with Mike on this one. There's plenty of ways to implement it
 (and I do it differently myself at times), and none of them fit the WP
 paradigm. On the other hand, it's trivial to implement it yourself (mine's
 46 lines of code).

 Also -1 on Composer for plugins/themes, but there's some interesting code
 in there that can be extracted for dependencies (their port of the libzypp
 dependency resolver).

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


More information about the wp-trac mailing list