KMP PHP API Reference

GitHubIssueSubmitterPlugin extends BasePlugin

GitHubIssueSubmitter Plugin - Anonymous Feedback Collection and GitHub Integration

Provides anonymous feedback collection through direct GitHub issue creation. Users can submit bug reports, feature requests, and feedback without authentication.

Configuration is managed through StaticHelpers with version-based automatic updates.

Tags
since
1.0.0
see

/docs/5.4-github-issue-submitter-plugin.md Full documentation

Table of Contents

Methods

bootstrap()  : void
Load plugin configuration and bootstrap logic.
console()  : CommandCollection
Add commands for the plugin.
middleware()  : MiddlewareQueue
Add middleware for the plugin.
routes()  : void
Add routes for the plugin.
services()  : void
Register application container services.

Methods

bootstrap()

Load plugin configuration and bootstrap logic.

public bootstrap(PluginApplicationInterface $app) : void

Initializes version-based configuration management, ensuring all required settings (GitHub repository, activation status, user messaging) are properly initialized and updated when configuration version changes.

Parameters
$app : PluginApplicationInterface

The host application

console()

Add commands for the plugin.

public console(CommandCollection $commands) : CommandCollection
Parameters
$commands : CommandCollection

The command collection to update.

Return values
CommandCollection

middleware()

Add middleware for the plugin.

public middleware(MiddlewareQueue $middlewareQueue) : MiddlewareQueue
Parameters
$middlewareQueue : MiddlewareQueue

The middleware queue to update.

Return values
MiddlewareQueue

routes()

Add routes for the plugin.

public routes(RouteBuilder $routes) : void

Configures routing with base path /git-hub-issue-submitter for feedback submission endpoints. Uses fallback routes for standard CakePHP conventions.

Parameters
$routes : RouteBuilder

The route builder to update.


        
On this page

Search results