[wp-hackers] WordPress moving to PHP 5.3x?

Cornelius, Gregory gcorne at bu.edu
Tue Jul 17 00:46:18 UTC 2012

What is missing in WordPress is the notion of libraries and automatic handling of dependencies during the installation of a plugin or theme. I would love to see a 3rd party libraries directory added to wp-content, a separate repository from which the libraries can be installed, and a mechanism for describing which libraries are required for a given plugin or theme. Has anyone played with http://getcomposer.org/?

On Jul 16, 2012, at 7:21 PM, scribu wrote:

It just dawned on me that with PHP 5.3 namespaces, I wouldn't need to do
these crazy hacks to have a common set of functions bundled with each
plugin. I could just load them under that plugin's namespace only.

That said, I won't venture to give advice on what you should do with your
projects; you know better than anyone what your goals are.

wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list