Register an extension

To register an extension

<?php

$manager->add('my-plugin', function() {
	return new MyPlugin();
})

$manager->add('another-plugin', function() {
	return new AnotherPlugin();
})

📘

In case that a plugin is not present on installer storage, it will automaticaly be added into uninstalled when boot method is called.