cloudbase / plugin-core
The bridge between CloudBase plugins and the CloudBase engine.
Installs: 3
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cloudbase/plugin-core
Requires
- latte/latte: ^3.0
- symfony/http-foundation: ^7.3
README
Provides the bridge between the CloudBase Engine and Plugins.
Base Controller
Plugin controllers should always extend CloudBase\PluginCore\Controller\CloudBaseController.
Make use of the renderedLatteResponse method to render templates from your plugin:
return $this->renderedLatteResponse('index.latte', []);
This will render the index.latte template from your plugins views directory. Feel free to exclude the .latte extension,
it isn't required in order to find your template.