In RedBeanPHP ORM, plugins serve a dual purpose. First they provide additional functionality. Second they keep the core clean.
A plugin is simply an additional PHP file residing in the /plugin folder. For your convenience, all plugins discussed here are included in the all-in-one package.
Since 3.3: Plugins can define additional static methods to be included in the R-facade class. This can be done by adding a line of code after the @plugin directive in the plugin source file.
For more information on how to build a custom all-in-one package please consult the manual page about the build script: Replica.
RedBeanPHP Easy ORM for PHP © 2013 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2