Learn how to create custom plugins to extend Aikeedo’s functionality and tailor your platform to your specific needs.
/public/content/plugins
folder of your Aikeedo installation:
yourorganization/plugin-name
. This naming convention helps identify and organize plugins.composer.json
file. This file contains essential metadata about your plugin.
Create a composer.json
file in your plugin directory with the following content:
name
: Must match the path to your plugin directory (yourorganization/plugin-name
)type
: Always set to aikeedo-plugin
for Aikeedo pluginsversion
: Defines the current version of your pluginrequire
: Lists the dependencies, including the required heyaikeedo/composer
packageextra.entry-class
: Specifies the main class of your pluginautoload
: Sets up PSR-4 autoloading for your plugin’s classesheyaikeedo/composer
package is required for all Aikeedo plugins. It provides essential functionality for plugin integration.Plugin.php
in the src
directory of your plugin:
PluginInterface
, which requires a boot
method. The boot
method is called when your plugin is loaded by Aikeedo, allowing you to set up any necessary functionality.