// YourPlugin.php
class YourPlugin extends \IsaEken\PluginSystem\Plugin
{
public string $name = 'plugin-name';
public function yourMethod() {
}
}
// YourPlugin.php
namespace PluginNamespace;
use IsaEken\PluginSystem\Plugin;
class YourPlugin extends Plugin {
public string $name = 'plugin-name';
}
// this line is required for plugins with namespace.
return YourPlugin::class;
// YourPlugin.php
use IsaEken\PluginSystem\Plugin;
class YourPlugin extends Plugin
{
public string $name = 'plugin-name';
public string $author = 'your name';
public string $description = 'the plugins description';
public string $version = 'v1.0.0-dev';
}