I'm working on an open source script. I would like to provide a feature to extend the script by use of plugins/modules.
I need some recommendations on open source cms/scripts to study code from, to gather the best practices on making script extendable by plugins. I've used WordPress in the past, and was planning to implement a similar system, but I'm looking to dive into alternatives, which might be better.
Language preferred is PHP 5