Best way to allow plugins for a PHP application

I am starting a new web application in PHP and this time around I want to create something that people can extend by using a plugin interface.

How does one go about writing ‘hooks’ into their code so that plugins can attach to specific events?

8 Answers
8

Leave a Comment