Plugins are an elegant way to add new functionality to RedBeanPHP. To create a plugin, create a class or function and use:
R::ext( 'doSomething', function() {
return MyClass::myMethod();
} );
to add your new feature to the R-class (required PHP 5.3+ and RedBeanPHP 3.5+). For older versions of PHP use:
R::ext( 'doSomething',
array( 'MyClass', 'MyStaticMethod' )
);
Now you can use your plugin like this:
R::doSomething();
it's that easy! Here is a list of some interesting 3rd party plugins for RedBeanPHP !
Here is a list of 3rd party plugins for RedBeanPHP, enjoy!
Plugin: ReBean,
automatic revision management for RedBeanPHP.
Author: Zewa666
ReBean adds revision tables to your database and uses triggers to automatically insert
revision beans.
Plugin:StdErr Logger,
Logger that writes to StdErr.
Author: Zewa666
Logs queries to error log.
Plugin:MySQL Backup,
Table exporter for MySQL
Author: Zewa666
Backups all tables in a MySQL database to a file. Only works for MySQL.
Plugin:German Porter Stemmer Plugin,
a tool to improve search results in German language.
Author: Zewa666
A linguistic extension to improve search results for German language.
RedBeanPHP Easy ORM for PHP © 2024 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2